Top Description Methods
org.bouncycastle.crypto

public Interface KeyWrapperUsingSecureRandom<T extends Parameters>

extends KeyWrapper<T extends Parameters>, OperatorUsingSecureRandom<KeyWrapperUsingSecureRandom<T extends Parameters>>
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsKeyWrapperUsingSecureRandom, org.bouncycastle.crypto.general.GuardedKeyWrapOperatorFactory.GuardedWrapper, org.bouncycastle.crypto.general.RSA.KeyWrapOperatorFactory.KeyWrapper, org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory.KeyWrapper
Type Parameters
<T>
the parameter type for the wrapper.
Imports
java.security.SecureRandom

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

Method Summary

Modifier and TypeMethod and Description
public KeyWrapperUsingSecureRandom<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.KeyWrapper:
getParameterswrap

Method Detail

withSecureRandomback to summary
public KeyWrapperUsingSecureRandom<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:KeyWrapperUsingSecureRandom<T>

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