public static final class TripleDES.KeyWrapOperatorFactory
extends java.lang.Object
Constructor and Description |
---|
KeyWrapOperatorFactory() |
Modifier and Type | Method and Description |
---|---|
KeyUnwrapper<T> |
createKeyUnwrapper(K key,
T parameters)
Create a key un-wrapper using the passed in key and parameters.
|
KeyWrapper<T> |
createKeyWrapper(K key,
T parameters)
Create a key wrapper using the passed in key and parameters.
|
protected org.bouncycastle.crypto.internal.Wrapper |
createWrapper(boolean forWrapping,
SymmetricKey key,
TripleDES.Parameters parameters,
java.security.SecureRandom random) |
protected org.bouncycastle.crypto.internal.Wrapper createWrapper(boolean forWrapping, SymmetricKey key, TripleDES.Parameters parameters, java.security.SecureRandom random)
public KeyWrapper<T> createKeyWrapper(K key, T parameters)
KeyWrapOperatorFactory
createKeyWrapper
in interface KeyWrapOperatorFactory<T extends Parameters,K extends Key>
key
- the key to initialize the wrapper with.parameters
- the parameters to initialize the wrapper with.public KeyUnwrapper<T> createKeyUnwrapper(K key, T parameters)
KeyWrapOperatorFactory
createKeyUnwrapper
in interface KeyWrapOperatorFactory<T extends Parameters,K extends Key>
key
- the key to initialize the un-wrapper with.parameters
- the parameters to initialize the un-wrapper with.