| Modifier and Type | Class and Description |
|---|---|
| private static class | TlsMasterSecretGenerator.
References Deprecated
TlsMasterSecret is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private int | |
| private TlsMasterSecretParameterSpec | spec
References Deprecated
TlsMasterSecretParameterSpec is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SecretKey | engineGenerateKey()
Implements abstract javax. Generates a secret key. |
| protected void | engineInit(SecureRandom random)
Implements abstract javax. Initializes the key generator. |
| protected void | engineInit(AlgorithmParameterSpec params, SecureRandom random)
Implements abstract javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness. |
| protected void | engineInit(int keysize, SecureRandom random)
Implements abstract javax. Initializes this key generator for a certain keysize, using the given source of randomness. |
| MSG | back to summary |
|---|---|
| private static final String MSG | |
| protocolVersion | back to summary |
|---|---|
| private int protocolVersion | |
| spec | back to summary |
|---|---|
| private TlsMasterSecretParameterSpec spec
References Deprecated
See corresponding docs for further information.
| |
| TlsMasterSecretGenerator | back to summary |
|---|---|
| public TlsMasterSecretGenerator() | |
| engineGenerateKey | back to summary |
|---|---|
| protected SecretKey engineGenerateKey() Implements abstract javax. Doc from javax. Generates a secret key. | |
| engineInit | back to summary |
|---|---|
| protected void engineInit(SecureRandom random) Implements abstract javax. Doc from javax. Initializes the key generator. | |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes the key generator with the specified parameter set and a user-provided source of randomness.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(int keysize, SecureRandom random) Implements abstract javax. Doc from javax. Initializes this key generator for a certain keysize, using the given source of randomness. | |
References Deprecated
TlsMasterSecret is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private final int | |
| private final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public int | getMajorVersion()
Implements sun. Returns the major version number encapsulated in the premaster secret this master secret was derived from, or -1 if it is not available. |
| public int | getMinorVersion()
Implements sun. Returns the minor version number encapsulated in the premaster secret this master secret was derived from, or -1 if it is not available. |
| private void | readObject(ObjectInputStream
the stream)ObjectInputStream from which data is readRestores the state of this object from the stream. |
| key | back to summary |
|---|---|
| private byte[] key | |
| majorVersion | back to summary |
|---|---|
| private final int majorVersion | |
| minorVersion | back to summary |
|---|---|
| private final int minorVersion | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides sun. | |
| TlsMasterSecretKey | back to summary |
|---|---|
| pack-priv TlsMasterSecretKey(byte[] key, int majorVersion, int minorVersion) | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "RSA" would indicate that this key is an RSA key. See the Key Algorithms section in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or | |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or | |
| getMajorVersion | back to summary |
|---|---|
| public int getMajorVersion() Implements sun. Doc from sun. 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() Implements sun. Doc from sun. 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. | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException Restores the state of this object from the stream.
| |