| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final String | |
| private final int | |
| public static final String | |
| private final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | TLSKeyMaterialSpec(byte[]
secret to use secret, String e.g. 'master secret', or 'key expansion' label, int number of bytes of material to be generated length, byte[]... array of seed material inputs (to be concatenated together) seedMaterial)Constructor specifying the basic parameters for a TLS KDF |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the label to be used with the TLS KDF.Return the label associated with this spec. |
| public int | Returns: the length in bytes of the result.Return the number of bytes of key material to be generated for this spec. |
| public byte[] | |
| public byte[] |
| KEY_EXPANSION | back to summary |
|---|---|
| public static final String KEY_EXPANSION | |
| label | back to summary |
|---|---|
| private final String label | |
| length | back to summary |
|---|---|
| private final int length | |
| MASTER_SECRET | back to summary |
|---|---|
| public static final String MASTER_SECRET | |
| secret | back to summary |
|---|---|
| private final byte[] secret | |
| seed | back to summary |
|---|---|
| private final byte[] seed | |
| TLSKeyMaterialSpec | back to summary |
|---|---|
| public TLSKeyMaterialSpec(byte[] secret, String label, int length, byte[]... seedMaterial) Constructor specifying the basic parameters for a TLS KDF
| |
| getLabel | back to summary |
|---|---|
| public String getLabel() Return the label associated with this spec.
| |
| getLength | back to summary |
|---|---|
| public int getLength() Return the number of bytes of key material to be generated for this spec.
| |
| getSecret | back to summary |
|---|---|
| public byte[] getSecret() Return the secret associated with this spec.
| |
| getSeed | back to summary |
|---|---|
| public byte[] getSeed() Return the full seed for the spec.
| |