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 processCryptoExceptionvoid init(java.security.Key aKey,
AlgorithmParams aParams)
throws CryptoException
CryptoExceptionbyte[] wrap(java.security.Key aKey)
throws CryptoException
aKey - to be wrapped.CryptoExceptionjava.security.Key unwrap(byte[] data)
throws CryptoException
data - CryptoExceptionjava.security.Key unwrap(byte[] data,
java.lang.Object keyTemplateObj)
throws CryptoException
data - keyTemplateObj - CryptoExceptionboolean isWrapper()
Copyright © 2025. All rights reserved.