Package org.bouncycastle.jcajce.spec
Class WrapParameterSpec
java.lang.Object
org.bouncycastle.jcajce.spec.WrapParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
Parameter spec to allow keywrapping to be configured to use the inverse function.
-
Constructor Summary
ConstructorsConstructorDescriptionWrapParameterSpec
(boolean useInverseFunction) Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether or not we specify the inverse function.
-
Constructor Details
-
WrapParameterSpec
public WrapParameterSpec(boolean useInverseFunction) Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping.By default wrappers do not use the inverse function.
- Parameters:
useInverseFunction
- true if use inverse, false if not.
-
-
Method Details
-
useInverseFunction
public boolean useInverseFunction()Return whether or not we specify the inverse function.- Returns:
- true if requiring inverse function, false otherwise.
-