public static final class FipsRSA.KeyWrapOperatorFactory extends FipsKeyWrapOperatorFactory<FipsRSA.WrapParameters,AsymmetricRSAKey>
Constructor and Description |
---|
KeyWrapOperatorFactory() |
Modifier and Type | Method and Description |
---|---|
FipsKeyUnwrapperUsingSecureRandom<FipsRSA.WrapParameters> |
createKeyUnwrapper(AsymmetricRSAKey key,
FipsRSA.WrapParameters parameters)
Create a key un-wrapper using the passed in key and parameters.
|
FipsKeyWrapperUsingSecureRandom<FipsRSA.WrapParameters> |
createKeyWrapper(AsymmetricRSAKey key,
FipsRSA.WrapParameters parameters)
Create a key wrapper using the passed in key and parameters.
|
public FipsKeyWrapperUsingSecureRandom<FipsRSA.WrapParameters> createKeyWrapper(AsymmetricRSAKey key, FipsRSA.WrapParameters parameters)
KeyWrapOperatorFactory
createKeyWrapper
in interface KeyWrapOperatorFactory<FipsRSA.WrapParameters,AsymmetricRSAKey>
createKeyWrapper
in class FipsKeyWrapOperatorFactory<FipsRSA.WrapParameters,AsymmetricRSAKey>
key
- the key to initialize the wrapper with.parameters
- the parameters to initialize the wrapper with.public FipsKeyUnwrapperUsingSecureRandom<FipsRSA.WrapParameters> createKeyUnwrapper(AsymmetricRSAKey key, FipsRSA.WrapParameters parameters)
KeyWrapOperatorFactory
createKeyUnwrapper
in interface KeyWrapOperatorFactory<FipsRSA.WrapParameters,AsymmetricRSAKey>
createKeyUnwrapper
in class FipsKeyWrapOperatorFactory<FipsRSA.WrapParameters,AsymmetricRSAKey>
key
- the key to initialize the un-wrapper with.parameters
- the parameters to initialize the un-wrapper with.