public class RSASSAPkcs1v15ParameterSpec extends PKCS1AlgorithmParameterSpec
Only may be used for raw RSA PKCS#1v1.5 signatures to specify the hash algorithm used by the signature engine.
Constructor and Description |
---|
RSASSAPkcs1v15ParameterSpec(AlgorithmID hashAlgorithm)
Creates a RSASSAPkcs1v15ParameterSpec for the given hash algorithm.
|
Modifier and Type | Method and Description |
---|---|
AlgorithmID |
getHashAlgorithm()
Returns the hash algorithm to be used
|
java.lang.String |
toString()
Returns a String representation of this object.
|
getSecureRandom, setSecureRandom
public RSASSAPkcs1v15ParameterSpec(AlgorithmID hashAlgorithm)
hashAlgorithm
- the hash algorithm to be usedpublic AlgorithmID getHashAlgorithm()
public java.lang.String toString()
toString
in class java.lang.Object