Top Description Methods
org.bouncycastle.crypto

public Interface KeyWrapOperatorFactory<T extends Parameters, K extends Key>

Known Direct Implementers
org.bouncycastle.crypto.fips.FipsKeyWrapOperatorFactory, org.bouncycastle.crypto.general.GuardedKeyWrapOperatorFactory, org.bouncycastle.crypto.general.RSA.KeyWrapOperatorFactory, org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory
Type Parameters
<T>
the parameter type for the key wrappers/un-wrappers we produce.

Base interface for a creator of key wrappers and un-wrappers.

Method Summary

Modifier and TypeMethod and Description
public KeyUnwrapper<T>

Returns:

an initialized key un-wrapper.
createKeyUnwrapper
(K
the key to initialize the un-wrapper with.
key
,
T
the parameters to initialize the un-wrapper with.
parameters
)

Create a key un-wrapper using the passed in key and parameters.

public KeyWrapper<T>

Returns:

an initialized key wrapper.
createKeyWrapper
(K
the key to initialize the wrapper with.
key
,
T
the parameters to initialize the wrapper with.
parameters
)

Create a key wrapper using the passed in key and parameters.

Method Detail

createKeyUnwrapperback to summary
public KeyUnwrapper<T> createKeyUnwrapper(K key, T parameters)

Create a key un-wrapper using the passed in key and parameters.

Parameters
key:K

the key to initialize the un-wrapper with.

parameters:T

the parameters to initialize the un-wrapper with.

Returns:KeyUnwrapper<T>

an initialized key un-wrapper.

createKeyWrapperback to summary
public KeyWrapper<T> createKeyWrapper(K key, T parameters)

Create a key wrapper using the passed in key and parameters.

Parameters
key:K

the key to initialize the wrapper with.

parameters:T

the parameters to initialize the wrapper with.

Returns:KeyWrapper<T>

an initialized key wrapper.