Package org.bouncycastle.crypto
Interface OperatorUsingSecureRandom<T>
-
- Type Parameters:
T
- the operator returned.
- All Known Subinterfaces:
EncapsulatingSecretGenerator<T>
,KeyUnwrapperUsingSecureRandom<T>
,KeyWrapperUsingSecureRandom<T>
,OutputSignerUsingSecureRandom<T>
,SingleBlockDecryptorUsingSecureRandom<T>
,SingleBlockEncryptorUsingSecureRandom<T>
- All Known Implementing Classes:
FipsEncapsulatingSecretGenerator
,FipsKeyUnwrapperUsingSecureRandom
,FipsKeyWrapperUsingSecureRandom
,FipsOutputSignerUsingSecureRandom
public interface OperatorUsingSecureRandom<T>
Interface allowing an operator to be created with a particular SecureRandom.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
withSecureRandom(java.security.SecureRandom random)
Create a version of T using the SecureRandom random.
-
-
-
Method Detail
-
withSecureRandom
T withSecureRandom(java.security.SecureRandom random)
Create a version of T using the SecureRandom random.- Parameters:
random
- the SecureRandom to use.- Returns:
- a new version of T using random.
-
-