@Deprecated public class DES3SecretKey extends SecretKey
DES3KeyTemplate
Constructor and Description |
---|
DES3SecretKey(java.lang.String aLabel)
Deprecated.
Used for generating DES3 key in token.
|
DES3SecretKey(java.lang.String aLabel,
byte[] aValue)
Deprecated.
Used for importing DES3 key to the token.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> |
getCreationTemplate()
Deprecated.
getCreationTemplate returns template for creating DES3 key in token.
|
long |
getGenerationMechanism()
Deprecated.
getGenerationMechanism returns pkcs11 constant value for DES3 key generation.
|
long |
getKeyType()
Deprecated.
getKeyType returns pkcs11 constant value for DES3 key type.
|
getImportTemplate, getKeySize, getLabel, getValue
public DES3SecretKey(java.lang.String aLabel)
aLabel
- label to be given to the DES3 key generated.public DES3SecretKey(java.lang.String aLabel, byte[] aValue) throws SmartCardException
aLabel
- label to be given to the imported key.aValue
- key value.Must be 24 bytes long.SmartCardException
- If length of given key value is not 24.public long getGenerationMechanism()
getGenerationMechanism
in class SecretKey
public long getKeyType()
getKeyType
in class SecretKey
public java.util.List<sun.security.pkcs11.wrapper.CK_ATTRIBUTE> getCreationTemplate()
getCreationTemplate
in class SecretKey
SecretKeyTemplate
Copyright © 2025. All rights reserved.