iaik.pkcs.pkcs1
Class PKCS1AlgorithmParameterSpec

java.lang.Object
  |
  +--iaik.pkcs.pkcs1.PKCS1AlgorithmParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec
Direct Known Subclasses:
MGF1ParameterSpec, RSAOaepPSourceParameterSpec, RSAPssSaltParameterSpec, RSASSAPkcs1v15ParameterSpec

public class PKCS1AlgorithmParameterSpec
extends Object
implements AlgorithmParameterSpec

PKCS#1 algorithm parameter specification. Super class that groups all parameter specifications that may be required by any of the RSA PKCS#1 algorithms.

This class (and any of its sub classes) also maybe used to supply a SecureRandom object to a PKCS#1 algorithm implementation if required.

Version:
File Revision 8

Constructor Summary
PKCS1AlgorithmParameterSpec()
          Empty default constructor.
 
Method Summary
 SecureRandom getSecureRandom()
          Gets the SecureRandom.
 void setSecureRandom(SecureRandom random)
          Sets the SecureRandom to be used by the PKCS#1 algorithm to which this PKCS1AlgorithmParameterSpec shall be supplied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS1AlgorithmParameterSpec

public PKCS1AlgorithmParameterSpec()
Empty default constructor.
Method Detail

setSecureRandom

public void setSecureRandom(SecureRandom random)
Sets the SecureRandom to be used by the PKCS#1 algorithm to which this PKCS1AlgorithmParameterSpec shall be supplied.
Parameters:
random - the SecureRandom to be supplied

getSecureRandom

public SecureRandom getSecureRandom()
Gets the SecureRandom.
Returns:
the SecureRandom

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK