Top Description Constructors Methods
org.bouncycastle.crypto.fips

public abstract Class FipsKeyUnwrapper<T extends Parameters>

extends Object
implements KeyUnwrapper<T extends Parameters>
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.KeyUnwrapper
Known Direct Subclasses
org.bouncycastle.crypto.fips.FipsKeyUnwrapperUsingSecureRandom
Type Parameters
<T>
the parameters type associated with the final implementation of this key unwrapper.
Imports
org.bouncycastle.crypto.InvalidWrappingException, .KeyUnwrapper, .Parameters

Base class for the approved mode KeyUnwrapper implementations.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public abstract byte[]
unwrap(byte[]
input data array.
in
,
int
offset into data array wrapped key starts at.
inOff
,
int
length of wrapped key data.
inLen
)

Redeclares org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Return the unwrapped byte encoding of a key.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FipsKeyUnwrapperback to summary
pack-priv FipsKeyUnwrapper()

Method Detail

unwrapback to summary
public abstract byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidWrappingException

Redeclares org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Doc from org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Return the unwrapped byte encoding of a key.

Parameters
in:byte[]

input data array.

inOff:int

offset into data array wrapped key starts at.

inLen:int

length of wrapped key data.

Returns:byte[]

the unwrapped byte encoding of the key.

Exceptions
InvalidWrappingException:
if the wrapping cannot be processed.