Interface KeyEncryption
public interface KeyEncryption
KeyEncryption interface defines the methods used to enable
encrypted key data access to a key implementation.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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 Details
-
setKeyCipher
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.
-