@Deprecated public interface TlsMasterSecret extends 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".
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
serialVersionUID
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
getAlgorithm, getEncoded, getFormatdestroy, isDestroyedstatic final long serialVersionUID
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.
Copyright © 2023. All rights reserved.