Deprecated
Sun JDK internal use only --- WILL BE REMOVED in a future release.
Instances of this class are immutable.
Modifier and Type | Field and Description |
---|---|
private final int | |
private final byte[] | |
private static final boolean | |
private final int |
Access | Constructor and Description |
---|---|
public | TlsRsaPremasterSecretParameterSpec(int
the version of the TLS protocol by which the
client wishes to communicate during this session clientVersion, int the negotiated version of the TLS protocol which
contains the lower of that suggested by the client in the client
hello and the highest supported by the server. serverVersion)Constructs a new TlsRsaPremasterSecretParameterSpec. |
public | TlsRsaPremasterSecretParameterSpec(int
the version of the TLS protocol by which the
client wishes to communicate during this session clientVersion, int the negotiated version of the TLS protocol which
contains the lower of that suggested by the client in the client
hello and the highest supported by the server. serverVersion, byte[] the encoded secret key encodedSecret)Constructs a new TlsRsaPremasterSecretParameterSpec. |
Modifier and Type | Method and Description |
---|---|
private int | |
public int | Returns: the version of the TLS protocol in ClientHello messageReturns the version of the TLS protocol by which the client wishes to communicate during this session. |
public byte[] | Returns: the encoded secret, may be null if no encoded secret.Returns the encoded secret. |
public int | Returns: the major version used in RSA premaster secret.Returns the major version used in RSA premaster secret. |
public int | Returns: the minor version used in RSA premaster secret.Returns the minor version used in RSA premaster secret. |
public int | Returns: the negotiated version of the TLS protocol in ServerHello messageReturns the negotiated version of the TLS protocol which contains the lower of that suggested by the client in the client hello and the highest supported by the server. |
clientVersion | back to summary |
---|---|
private final int clientVersion |
encodedSecret | back to summary |
---|---|
private final byte[] encodedSecret |
rsaPreMasterSecretFix | back to summary |
---|---|
private static final boolean rsaPreMasterSecretFix |
serverVersion | back to summary |
---|---|
private final int serverVersion |
TlsRsaPremasterSecretParameterSpec | back to summary |
---|---|
public TlsRsaPremasterSecretParameterSpec(int clientVersion, int serverVersion) Constructs a new TlsRsaPremasterSecretParameterSpec.
|
TlsRsaPremasterSecretParameterSpec | back to summary |
---|---|
public TlsRsaPremasterSecretParameterSpec(int clientVersion, int serverVersion, byte[] encodedSecret) Constructs a new TlsRsaPremasterSecretParameterSpec.
|
checkVersion | back to summary |
---|---|
private int checkVersion(int version) |
getClientVersion | back to summary |
---|---|
public int getClientVersion() Returns the version of the TLS protocol by which the client wishes to communicate during this session.
|
getEncodedSecret | back to summary |
---|---|
public byte[] getEncodedSecret() Returns the encoded secret.
|
getMajorVersion | back to summary |
---|---|
public int getMajorVersion() Returns the major version used in RSA premaster secret.
|
getMinorVersion | back to summary |
---|---|
public int getMinorVersion() Returns the minor version used in RSA premaster secret.
|
getServerVersion | back to summary |
---|---|
public int getServerVersion() Returns the negotiated version of the TLS protocol which contains the lower of that suggested by the client in the client hello and the highest supported by the server.
|