Package javacardx.crypto
Interface KeyEncryption
-
public interface KeyEncryption
KeyEncryption
interface 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 Cipher
getKeyCipher()
Returns theCipher
object to be used to decrypt the input key data and key parameters in the set methods.void
setKeyCipher(Cipher keyCipher)
Sets theCipher
object to be used to decrypt the input key data and key parameters in the set methods.
-
-
-
Method Detail
-
setKeyCipher
void setKeyCipher(Cipher keyCipher)
Sets theCipher
object to be used to decrypt the input key data and key parameters in the set methods.Default
Cipher
object isnull
- no decryption performed.- Parameters:
keyCipher
- the decryptionCipher
object to decrypt the input key data. Thenull
parameter indicates that no decryption is required.
-
getKeyCipher
Cipher getKeyCipher()
Returns theCipher
object 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 decryptionCipher
object to decrypt the input key data. Thenull
return indicates that no decryption is performed.
-
-