| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Digest | |
| public static byte[] | Returns: a generated secret key.definition of the KDF and the output size to produce. kdfSpec, byte[] the secret value to initialize the KDF with (erased after secret key generation). secret)Generate a byte[] secret key from the passed in secret. |
| pack-priv static byte[] |
| KdfUtil | back to summary |
|---|---|
| public KdfUtil() | |
| getDigest | back to summary |
|---|---|
| pack-priv static Digest getDigest(ASN1ObjectIdentifier oid) | |
| makeKeyBytes | back to summary |
|---|---|
| public static byte[] makeKeyBytes(KEMKDFSpec kdfSpec, byte[] secret) Generate a byte[] secret key from the passed in secret. Note passed in secret will be erased after use.
| |
| makeKeyBytes | back to summary |
|---|---|
| pack-priv static byte[] makeKeyBytes(AlgorithmIdentifier kdfAlgorithm, byte[] secret, byte[] otherInfo, int keySize) | |