| Modifier and Type | Field and Description |
|---|---|
| public static final FipsKDF. | |
| public static final FipsKDF. | |
| private final AlgorithmIdentifier | |
| private final String | |
| private final int | |
| private final String | |
| private final int | |
| private byte[] | |
| private final AlgorithmParameterSpec |
| Access | Constructor and Description |
|---|---|
| pack-priv | KTSKeySpec(String keyAlgorithmName, int keySize, String macAlgorithm, int macKeySizeInBits, AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static byte[] | |
| pack-priv static AlgorithmIdentifier | |
| public AlgorithmIdentifier | Returns: the AlgorithmIdentifier for the SecretKeyFactory's KDF.Return the AlgorithmIdentifier for the KDF to do key derivation after extracting the secret. |
| public String | Returns: the key algorithm.Return the name of the algorithm for the secret key this key spec should produce. |
| public int | Returns: length in bits of the key to be calculated.Return the size of the key (in bits) to be calculated by the SecretKeyFactory used with this key spec. |
| public String | Returns: the MAC key algorithm, null if not present.Return the name of the MAC algorithm for the MAC key this key spec should recover (if any). |
| public int | Returns: length in bits of the MAC key to be recovered, 0 if not present.Return the size of the key (in bits) to be taken from the extracted secret. |
| public byte[] | |
| public AlgorithmParameterSpec | Returns: the algorithm parameter spec to be used with the private key.Return the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted. |
| KDF2 | back to summary |
|---|---|
| public static final FipsKDF. | |
| KDF3 | back to summary |
|---|---|
| public static final FipsKDF. | |
| kdfAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier kdfAlgorithm | |
| keyAlgorithmName | back to summary |
|---|---|
| private final String keyAlgorithmName | |
| keySize | back to summary |
|---|---|
| private final int keySize | |
| macAlgorithm | back to summary |
|---|---|
| private final String macAlgorithm | |
| macKeySizeInBits | back to summary |
|---|---|
| private final int macKeySizeInBits | |
| otherInfo | back to summary |
|---|---|
| private byte[] otherInfo | |
| parameterSpec | back to summary |
|---|---|
| private final AlgorithmParameterSpec parameterSpec | |
| KTSKeySpec | back to summary |
|---|---|
| pack-priv KTSKeySpec(String keyAlgorithmName, int keySize, String macAlgorithm, int macKeySizeInBits, AlgorithmParameterSpec parameterSpec, AlgorithmIdentifier kdfAlgorithm, byte[] otherInfo) | |
| copyOtherInfo | back to summary |
|---|---|
| pack-priv static byte[] copyOtherInfo(byte[] otherInfo) | |
| createAlgId | back to summary |
|---|---|
| pack-priv static AlgorithmIdentifier createAlgId(FipsKDF. | |
| getKdfAlgorithmId | back to summary |
|---|---|
| public AlgorithmIdentifier getKdfAlgorithmId() Return the AlgorithmIdentifier for the KDF to do key derivation after extracting the secret.
| |
| getKeyAlgorithmName | back to summary |
|---|---|
| public String getKeyAlgorithmName() Return the name of the algorithm for the secret key this key spec should produce.
| |
| getKeySize | back to summary |
|---|---|
| public int getKeySize() Return the size of the key (in bits) to be calculated by the SecretKeyFactory used with this key spec.
| |
| getMacAlgorithmName | back to summary |
|---|---|
| public String getMacAlgorithmName() Return the name of the MAC algorithm for the MAC key this key spec should recover (if any).
| |
| getMacKeySize | back to summary |
|---|---|
| public int getMacKeySize() Return the size of the key (in bits) to be taken from the extracted secret.
| |
| getOtherInfo | back to summary |
|---|---|
| public byte[] getOtherInfo() Return the otherInfo data for initialising the KDF.
| |
| getParameterSpec | back to summary |
|---|---|
| public AlgorithmParameterSpec getParameterSpec() Return the algorithm parameter spec to be applied with the private key when the encapsulation is decrypted.
| |