public static final class RSA.KeyWrapOperatorFactory extends java.lang.Object implements KeyWrapOperatorFactory<RSA.WrapParameters,AsymmetricRSAKey>
Constructor and Description |
---|
KeyWrapOperatorFactory() |
Modifier and Type | Method and Description |
---|---|
KeyUnwrapperUsingSecureRandom<RSA.WrapParameters> |
createKeyUnwrapper(AsymmetricRSAKey key,
RSA.WrapParameters parameters)
Create a key un-wrapper using the passed in key and parameters.
|
KeyWrapperUsingSecureRandom<RSA.WrapParameters> |
createKeyWrapper(AsymmetricRSAKey key,
RSA.WrapParameters parameters)
Create a key wrapper using the passed in key and parameters.
|
public KeyWrapperUsingSecureRandom<RSA.WrapParameters> createKeyWrapper(AsymmetricRSAKey key, RSA.WrapParameters parameters)
KeyWrapOperatorFactory
createKeyWrapper
in interface KeyWrapOperatorFactory<RSA.WrapParameters,AsymmetricRSAKey>
key
- the key to initialize the wrapper with.parameters
- the parameters to initialize the wrapper with.public KeyUnwrapperUsingSecureRandom<RSA.WrapParameters> createKeyUnwrapper(AsymmetricRSAKey key, RSA.WrapParameters parameters)
KeyWrapOperatorFactory
createKeyUnwrapper
in interface KeyWrapOperatorFactory<RSA.WrapParameters,AsymmetricRSAKey>
key
- the key to initialize the un-wrapper with.parameters
- the parameters to initialize the un-wrapper with.