public static final class RSA.ISO9796d2PSSSignatureParameters extends RSA.SignatureParameters<RSA.ISO9796d2PSSSignatureParameters>
Modifier and Type | Method and Description |
---|---|
byte[] |
getSalt() |
int |
getSaltLength() |
RSA.ISO9796d2PSSSignatureParameters |
withDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Return a new parameter set with for the passed in digest algorithm.
|
RSA.ISO9796d2PSSSignatureParameters |
withSalt(byte[] salt)
Specify a fixed salt for the signature.
|
RSA.ISO9796d2PSSSignatureParameters |
withSaltLength(int saltLength)
Specify the saltLength for the signature.
|
getDigestAlgorithm
getAlgorithm
public RSA.ISO9796d2PSSSignatureParameters withDigestAlgorithm(DigestAlgorithm digestAlgorithm)
digestAlgorithm
- the digest to use for signature generation.public RSA.ISO9796d2PSSSignatureParameters withSaltLength(int saltLength)
saltLength
- the salt length.public RSA.ISO9796d2PSSSignatureParameters withSalt(byte[] salt)
salt
- the salt to use.public byte[] getSalt()
public int getSaltLength()