private static final class TlsMasterSecretGenerator.TlsMasterSecretKey extends Object implements TlsMasterSecret
| 限定符和类型 | 字段和说明 |
|---|---|
private byte[] |
key |
private int |
majorVersion |
private int |
minorVersion |
private static long |
serialVersionUID |
| 构造器和说明 |
|---|
TlsMasterSecretKey(byte[] key,
int majorVersion,
int minorVersion) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
int |
getMajorVersion()
Returns the major version number encapsulated in the premaster secret
this master secret was derived from, or -1 if it is not available.
|
int |
getMinorVersion()
Returns the minor version number encapsulated in the premaster secret
this master secret was derived from, or -1 if it is not available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate static final long serialVersionUID
private byte[] key
private final int majorVersion
private final int minorVersion
public int getMajorVersion()
TlsMasterSecretThis information will only usually only be available when RSA was used as the key exchange algorithm.
getMajorVersion 在接口中 TlsMasterSecretpublic int getMinorVersion()
TlsMasterSecretThis information will only usually only be available when RSA was used as the key exchange algorithm.
getMinorVersion 在接口中 TlsMasterSecretpublic String getAlgorithm()
getAlgorithm 在接口中 Keypublic byte[] getEncoded()
getEncoded 在接口中 KeyCopyright © 2023. All rights reserved.