public static final class RSA.PSSSignatureParameters extends RSA.SignatureParameters
Modifier and Type | Method and Description |
---|---|
DigestAlgorithm |
getMGFDigest() |
byte[] |
getSalt() |
int |
getSaltLength() |
int |
getTrailer() |
RSA.PSSSignatureParameters |
withDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Specify the digest algorithm to use.
|
RSA.PSSSignatureParameters |
withMGFDigest(DigestAlgorithm mgfDigest)
Specify the digest algorithm to use for the MGF.
|
RSA.PSSSignatureParameters |
withSalt(byte[] salt)
Specify a fixed salt for the signature.
|
RSA.PSSSignatureParameters |
withSaltLength(int saltLength)
Specify the saltLength for the signature.
|
RSA.PSSSignatureParameters |
withTrailer(int trailer)
Specify the trailer for the signature.
|
getDigestAlgorithm
getAlgorithm
public RSA.PSSSignatureParameters withDigestAlgorithm(DigestAlgorithm digestAlgorithm)
digestAlgorithm
- a digest algorithm.public RSA.PSSSignatureParameters withMGFDigest(DigestAlgorithm mgfDigest)
mgfDigest
- a digest algorithm for the MGF.public RSA.PSSSignatureParameters withSaltLength(int saltLength)
saltLength
- the salt length.public RSA.PSSSignatureParameters withTrailer(int trailer)
trailer
- the trailer for the signature.public RSA.PSSSignatureParameters withSalt(byte[] salt)
salt
- the salt to use.public byte[] getSalt()
public int getSaltLength()
public DigestAlgorithm getMGFDigest()
public int getTrailer()