Package javacardx.crypto
Interface KeyEncryption
-
public interface KeyEncryptionKeyEncryptioninterface defines the methods used to enable encrypted key data access to a key implementation.- See Also:
javacard.security.KeyBuilder,Cipher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CiphergetKeyCipher()Returns theCipherobject to be used to decrypt the input key data and key parameters in the set methods.voidsetKeyCipher(Cipher keyCipher)Sets theCipherobject to be used to decrypt the input key data and key parameters in the set methods.
-
-
-
Method Detail
-
setKeyCipher
void setKeyCipher(Cipher keyCipher)
Sets theCipherobject to be used to decrypt the input key data and key parameters in the set methods.Default
Cipherobject isnull- no decryption performed.- Parameters:
keyCipher- the decryptionCipherobject to decrypt the input key data. Thenullparameter indicates that no decryption is required.
-
getKeyCipher
Cipher getKeyCipher()
Returns theCipherobject to be used to decrypt the input key data and key parameters in the set methods.Default is
null- no decryption performed.- Returns:
keyCipher, the decryptionCipherobject to decrypt the input key data. Thenullreturn indicates that no decryption is performed.
-
-