Top Description Methods
org.bouncycastle.crypto

public Interface OperatorUsingSecureRandom<T>

Known Direct Subinterfaces
org.bouncycastle.crypto.OutputSignerUsingSecureRandom, org.bouncycastle.crypto.EncapsulatingSecretGenerator, org.bouncycastle.crypto.SingleBlockDecryptorUsingSecureRandom, org.bouncycastle.crypto.SingleBlockEncryptorUsingSecureRandom, org.bouncycastle.crypto.KeyUnwrapperUsingSecureRandom, org.bouncycastle.crypto.KeyWrapperUsingSecureRandom
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsTripleDES.OperatorFactory.OutEncryptor, org.bouncycastle.crypto.fips.FipsAES.OperatorFactory.OutEncryptor, org.bouncycastle.crypto.general.GuardedSymmetricOperatorFactory.OutEncryptor, org.bouncycastle.crypto.general.RSA.SignatureWithMessageRecoveryOperatorFactory.RSASigner, org.bouncycastle.crypto.general.GuardedSymmetricStreamOperatorFactory.OutEncryptor
Type Parameters
<T>
the operator returned.
Imports
java.security.SecureRandom

Interface allowing an operator to be created with a particular SecureRandom.

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

a new version of T using random.
withSecureRandom
(SecureRandom
the SecureRandom to use.
random
)

Create a version of T using the SecureRandom random.

Method Detail

withSecureRandomback to summary
public T withSecureRandom(SecureRandom random)

Create a version of T using the SecureRandom random.

Parameters
random:SecureRandom

the SecureRandom to use.

Returns:T

a new version of T using random.