Package org.bouncycastle.crypto.fips
Class FipsAES.KeyWrapOperatorFactory
- java.lang.Object
-
- org.bouncycastle.crypto.fips.FipsKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
-
- org.bouncycastle.crypto.fips.FipsAES.KeyWrapOperatorFactory
-
- All Implemented Interfaces:
KeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
- Enclosing class:
- FipsAES
public static final class FipsAES.KeyWrapOperatorFactory extends FipsKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
Factory for producing FIPS AES key wrap/unwrap operators.
-
-
Constructor Summary
Constructors Constructor Description KeyWrapOperatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FipsKeyUnwrapper<FipsAES.WrapParameters>
createKeyUnwrapper(SymmetricKey key, FipsAES.WrapParameters parameters)
Create a key un-wrapper using the passed in key and parameters.FipsKeyWrapper<FipsAES.WrapParameters>
createKeyWrapper(SymmetricKey key, FipsAES.WrapParameters parameters)
Create a key wrapper using the passed in key and parameters.
-
-
-
Method Detail
-
createKeyWrapper
public FipsKeyWrapper<FipsAES.WrapParameters> createKeyWrapper(SymmetricKey key, FipsAES.WrapParameters parameters)
Description copied from interface:KeyWrapOperatorFactory
Create a key wrapper using the passed in key and parameters.- Specified by:
createKeyWrapper
in interfaceKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
- Specified by:
createKeyWrapper
in classFipsKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
- Parameters:
key
- the key to initialize the wrapper with.parameters
- the parameters to initialize the wrapper with.- Returns:
- an initialized key wrapper.
-
createKeyUnwrapper
public FipsKeyUnwrapper<FipsAES.WrapParameters> createKeyUnwrapper(SymmetricKey key, FipsAES.WrapParameters parameters)
Description copied from interface:KeyWrapOperatorFactory
Create a key un-wrapper using the passed in key and parameters.- Specified by:
createKeyUnwrapper
in interfaceKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
- Specified by:
createKeyUnwrapper
in classFipsKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>
- Parameters:
key
- the key to initialize the un-wrapper with.parameters
- the parameters to initialize the un-wrapper with.- Returns:
- an initialized key un-wrapper.
-
-