public interface Wrapper
Modifier and Type | Method and Description |
---|---|
void |
init(java.security.Key aKey) |
void |
init(java.security.Key aKey,
AlgorithmParams aParams) |
boolean |
isWrapper() |
java.security.Key |
unwrap(byte[] data)
Unwrap Key
|
java.security.Key |
unwrap(byte[] data,
java.lang.Object keyTemplateObj)
Unwrap key with specified Key Template.
|
byte[] |
wrap(java.security.Key aKey) |
void init(java.security.Key aKey) throws CryptoException
aKey
- to be used for cipher processCryptoException
void init(java.security.Key aKey, AlgorithmParams aParams) throws CryptoException
CryptoException
byte[] wrap(java.security.Key aKey) throws CryptoException
aKey
- to be wrapped.CryptoException
java.security.Key unwrap(byte[] data) throws CryptoException
data
- CryptoException
java.security.Key unwrap(byte[] data, java.lang.Object keyTemplateObj) throws CryptoException
data
- keyTemplateObj
- CryptoException
boolean isWrapper()
Copyright © 2025. All rights reserved.