| Modifier and Type | Field and Description |
|---|---|
| protected final JcaTlsCrypto | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static JceTlsSecret | |
| public synchronized TlsSecret | deriveUsingPRF(int
PRF algorithm to use. prfAlgorithm, String the label details. label, byte[] the seed details. seed, int the size (in bytes) of the secret to generate. length)Implements org. Return a new secret based on applying a PRF to this one. |
| private static byte[] | |
| protected AbstractTlsCrypto | |
| public synchronized TlsSecret | hkdfExpand(int
the hash algorithm to instantiate HMAC with. See cryptoHashAlgorithm, byte[] CryptoHashAlgorithm for values.optional context and application specific information (can be zero-length). info, int length of output keying material in octets. length)Implements org. RFC 5869 HKDF-Expand function, with this secret's data as the pseudo-random key ('prk'). |
| public synchronized TlsSecret | hkdfExtract(int
the hash algorithm to instantiate HMAC with. See cryptoHashAlgorithm, TlsSecret CryptoHashAlgorithm for values.input keying material. ikm)Implements org. RFC 5869 HKDF-Extract function, with this secret's data as the 'salt'. |
| protected void | hmacHash(int cryptoHashAlgorithm, byte[] secret, int secretOff, int secretLen, byte[] seed, byte[] output)
|
| protected byte[] | |
| protected byte[] | |
| protected byte[] | |
| protected byte[] | |
| protected synchronized void |
| crypto | back to summary |
|---|---|
| protected final JcaTlsCrypto crypto | |
| SSL3_CONST | back to summary |
|---|---|
| private static final byte[] SSL3_CONST | |
| JceTlsSecret | back to summary |
|---|---|
| public JceTlsSecret(JcaTlsCrypto crypto, byte[] data) | |
| convert | back to summary |
|---|---|
| public static JceTlsSecret convert(JcaTlsCrypto crypto, TlsSecret secret) | |
| deriveUsingPRF | back to summary |
|---|---|
| public synchronized TlsSecret deriveUsingPRF(int prfAlgorithm, String label, byte[] seed, int length) Implements org. Doc from org. Return a new secret based on applying a PRF to this one. | |
| generateSSL3Constants | back to summary |
|---|---|
| private static byte[] generateSSL3Constants() | |
| getCrypto | back to summary |
|---|---|
| protected AbstractTlsCrypto getCrypto() Implements abstract org. | |
| hkdfExpand | back to summary |
|---|---|
| public synchronized TlsSecret hkdfExpand(int cryptoHashAlgorithm, byte[] info, int length) Implements org. Doc from org. RFC 5869 HKDF-Expand function, with this secret's data as the pseudo-random key ('prk').
| |
| hkdfExtract | back to summary |
|---|---|
| public synchronized TlsSecret hkdfExtract(int cryptoHashAlgorithm, TlsSecret ikm) Implements org. Doc from org. RFC 5869 HKDF-Extract function, with this secret's data as the 'salt'. The
| |
| hmacHash | back to summary |
|---|---|
| protected void hmacHash(int cryptoHashAlgorithm, byte[] secret, int secretOff, int secretLen, byte[] seed, byte[] output) throws GeneralSecurityException | |
| prf | back to summary |
|---|---|
| protected byte[] prf(int prfAlgorithm, String label, byte[] seed, int length) throws GeneralSecurityException | |
| prf_1_0 | back to summary |
|---|---|
| protected byte[] prf_1_0(byte[] labelSeed, int length) throws GeneralSecurityException | |
| prf_1_2 | back to summary |
|---|---|
| protected byte[] prf_1_2(int prfAlgorithm, byte[] labelSeed, int length) throws GeneralSecurityException | |
| prf_SSL | back to summary |
|---|---|
| protected byte[] prf_SSL(byte[] seed, int length) throws GeneralSecurityException | |
| updateMac | back to summary |
|---|---|
| protected synchronized void updateMac(Mac mac) | |