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