public class DES3KeyTemplate extends SecretKeyTemplate
Description:
Secret Key Template for AES keys, it contains Secret Key Attributes plus
CK_ATTRIBUTE(PKCS11Constants.CKA_KEY_TYPE, PKCS11Constants.CKK_DES3)
with keys sizes fixed as 24attributes, keyId, label, logger| Constructor and Description |
|---|
DES3KeyTemplate(java.lang.String label) |
DES3KeyTemplate(java.lang.String label,
byte[] value)
label and value to import DES3 key
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
long |
getGenerationMechanism()
CKM_DES3_KEY_GEN
|
getAsCreationTemplate, getAsDecryptorTemplate, getAsExportableTemplate, getAsImportTemplate, getAsUnwrapperTemplate, getAsWrapperTemplate, getKeySize, isWrapperOrUnWrapperadd, containsAttribute, getAttribute, getAttributes, getAttributesAsArr, getEncoded, getFormat, getKeyId, getLabel, remove, setKeyIdpublic DES3KeyTemplate(java.lang.String label)
public DES3KeyTemplate(java.lang.String label,
byte[] value)
label - value - public java.lang.String getAlgorithm()
public long getGenerationMechanism()
getGenerationMechanism in class SecretKeyTemplateCopyright © 2025. All rights reserved.