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:KeyWrapOperatorFactoryCreate a key wrapper using the passed in key and parameters.- Specified by:
createKeyWrapperin interfaceKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>- Specified by:
createKeyWrapperin 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:KeyWrapOperatorFactoryCreate a key un-wrapper using the passed in key and parameters.- Specified by:
createKeyUnwrapperin interfaceKeyWrapOperatorFactory<FipsAES.WrapParameters,SymmetricKey>- Specified by:
createKeyUnwrapperin 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.
-
-