Top Description Methods
org.bouncycastle.crypto

public Interface SingleBlockDecryptorUsingSecureRandom<T extends Parameters>

extends SingleBlockDecryptor<T extends Parameters>, OperatorUsingSecureRandom<SingleBlockDecryptorUsingSecureRandom<T extends Parameters>>
Known Direct Implementers
org.bouncycastle.crypto.general.RSA.OperatorFactory.BlockDecryptor
Type Parameters
<T>
the parameters type for the decryptor's cipher.
Imports
java.security.SecureRandom

Interface for a decryptor only able to decrypt a single block of data that makes use of a SecureRandom in the process (usually for algorithmic blinding).

Method Summary

Modifier and TypeMethod and Description
public SingleBlockDecryptorUsingSecureRandom<T>

Returns:

a new encryptor 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 decryptor using the passed in random as its source of randomness.
Inherited from org.bouncycastle.crypto.SingleBlockDecryptor:
decryptBlock

Method Detail

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

Redeclares org.bouncycastle.crypto.OperatorUsingSecureRandom.withSecureRandom.

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

Parameters
random:SecureRandom

the SecureRandom to use.

Returns:SingleBlockDecryptorUsingSecureRandom<T>

a new encryptor which will use random where random data is required.