Top Description Methods
org.bouncycastle.crypto

public Interface KeyUnwrapperUsingSecureRandom<T extends Parameters>

extends KeyUnwrapper<T extends Parameters>, OperatorUsingSecureRandom<KeyUnwrapperUsingSecureRandom<T extends Parameters>>
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsKeyUnwrapperUsingSecureRandom, org.bouncycastle.crypto.general.RSA.KeyWrapOperatorFactory.KeyUnwrapper, org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory.KeyUnwrapper
Type Parameters
<T>
the parameter type for the un-wrapper.
Imports
java.security.SecureRandom

Interface describing a KeyUnwrapper which also requires a SecureRandom as part of its configuration.

Method Summary

Modifier and TypeMethod and Description
public KeyUnwrapperUsingSecureRandom<T>

Returns:

a signer which will use random where random data is required.
withSecureRandom
(SecureRandom
the SecureRandom to use.
random
)

Redeclares org.bouncycastle.crypto.OperatorUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.
Inherited from org.bouncycastle.crypto.KeyUnwrapper:
getParametersunwrap

Method Detail

withSecureRandomback to summary
public KeyUnwrapperUsingSecureRandom<T> withSecureRandom(SecureRandom random)

Redeclares org.bouncycastle.crypto.OperatorUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.

Parameters
random:SecureRandom

the SecureRandom to use.

Returns:KeyUnwrapperUsingSecureRandom<T>

a signer which will use random where random data is required.