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
Modifier and TypeMethodDescriptionwithSecureRandom(SecureRandom random) Create a version of T using the SecureRandom random.
-
Method Details
-
withSecureRandom
Create a version of T using the SecureRandom random.- Parameters:
random- the SecureRandom to use.- Returns:
- a new version of T using random.
-