Top Description Fields Constructors Methods
org.bouncycastle.jcajce.spec

public Class WrapParameterSpec

extends Object
implements AlgorithmParameterSpec
Class Inheritance
All Implemented Interfaces
java.security.spec.AlgorithmParameterSpec
Imports
java.security.spec.AlgorithmParameterSpec

Parameter spec to allow keywrapping to be configured to use the inverse function.

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
WrapParameterSpec(boolean
true if use inverse, false if not.
useInverseFunction
)

Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if requiring inverse function, false otherwise.
useInverseFunction
()

Return whether or not we specify the inverse function.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

useInverseFunctionback to summary
private final boolean useInverseFunction

Constructor Detail

WrapParameterSpecback to summary
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:boolean

true if use inverse, false if not.

Method Detail

useInverseFunctionback to summary
public boolean useInverseFunction()

Return whether or not we specify the inverse function.

Returns:boolean

true if requiring inverse function, false otherwise.