public interface KeyEncryption
KeyEncryption
interface defines the methods used to enable
encrypted key data access to a key implementation.
javacard.security.KeyBuilder
,
Cipher
Modifier and Type | Method and Description |
---|---|
Cipher |
getKeyCipher()
Returns the
Cipher object to be used to decrypt the input
key data and key parameters in the set methods. |
void |
setKeyCipher(Cipher keyCipher)
Sets the
Cipher object to be used to decrypt the input key
data and key parameters in the set methods. |
void setKeyCipher(Cipher keyCipher)
Cipher
object to be used to decrypt the input key
data and key parameters in the set methods.
Default Cipher
object is null
- no
decryption performed.
keyCipher
- the decryption Cipher
object to decrypt the
input key data. The null
parameter indicates
that no decryption is required.Cipher getKeyCipher()
Cipher
object to be used to decrypt the input
key data and key parameters in the set methods.
Default is null
- no decryption performed.
keyCipher
, the decryption Cipher
object to decrypt the input key data. The null
return indicates that no decryption is performed.Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms