Deprecated
Sun JDK internal use only --- WILL BE REMOVED in a future release.
SecretKey that optionally
contains protocol version information that is used to detect version
rollback attacks during the SSL/TLS handshake.
Implementation of this interface are returned by the
generateKey() method of KeyGenerators of the type
"TlsMasterSecret".
| Modifier and Type | Field and Description |
|---|---|
| public static final long | serialVersionUID
Hides javax.
Deprecated
A
serialVersionUID field in an interface is
ineffectual. Do not use; no replacement.
|
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the major version number, or -1 if it is not availableReturns the major version number encapsulated in the premaster secret this master secret was derived from, or -1 if it is not available. |
| public int | Returns: the major version number, or -1 if it is not availableReturns the minor version number encapsulated in the premaster secret this master secret was derived from, or -1 if it is not available. |
| serialVersionUID | back to summary |
|---|---|
| public static final long serialVersionUID Hides javax. Deprecated A | |
| getMajorVersion | back to summary |
|---|---|
| public 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. This information will only usually only be available when RSA was used as the key exchange algorithm.
| |
| getMinorVersion | back to summary |
|---|---|
| public 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. This information will only usually only be available when RSA was used as the key exchange algorithm.
| |