Package org.bouncycastle.jcajce.spec
Class WrapParameterSpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.WrapParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
public class WrapParameterSpec extends java.lang.Object implements java.security.spec.AlgorithmParameterSpec
Parameter spec to allow keywrapping to be configured to use the inverse function.
-
-
Constructor Summary
Constructors Constructor Description WrapParameterSpec(boolean useInverseFunction)
Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
useInverseFunction()
Return whether or not we specify the inverse function.
-
-
-
Constructor Detail
-
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.
-
-