@Deprecated
public interface TlsMasterSecret
extends javax.crypto.SecretKey
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 |
|---|---|
static long |
serialVersionUID
Deprecated.
A
serialVersionUID field in an interface is
ineffectual. Do not use; no replacement. |
| Modifier and Type | Method and Description |
|---|---|
int |
getMajorVersion()
Deprecated.
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()
Deprecated.
Returns the minor version number encapsulated in the premaster secret
this master secret was derived from, or -1 if it is not available.
|
@Deprecated static final long serialVersionUID
serialVersionUID field in an interface is
ineffectual. Do not use; no replacement.int getMajorVersion()
This information will only usually only be available when RSA was used as the key exchange algorithm.
int getMinorVersion()
This information will only usually only be available when RSA was used as the key exchange algorithm.