public class PKCS1AlgorithmParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
This class (and any of its sub classes) also maybe used to supply a SecureRandom object to a PKCS#1 algorithm implementation if required.
Constructor and Description |
---|
PKCS1AlgorithmParameterSpec()
Empty default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.security.SecureRandom |
getSecureRandom()
Gets the SecureRandom.
|
void |
setSecureRandom(java.security.SecureRandom random)
Sets the SecureRandom to be used by the PKCS#1 algorithm to which this
PKCS1AlgorithmParameterSpec shall be supplied.
|
public PKCS1AlgorithmParameterSpec()
public void setSecureRandom(java.security.SecureRandom random)
random
- the SecureRandom to be suppliedpublic java.security.SecureRandom getSecureRandom()