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 SummaryAll 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- 
setKeyCiphervoid 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 decryption- Cipherobject to decrypt the input key data. The- nullparameter indicates that no decryption is required.
 
 - 
getKeyCipherCipher 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 decryption- Cipherobject to decrypt the input key data. The- nullreturn indicates that no decryption is performed.
 
 
- 
 
-