public class RSASSAPSSMechanismParams extends Object implements IApplicableSignatureParams
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TRAILER_FIELD
Default value of the trailer field parameter.
|
| Constructor and Description |
|---|
RSASSAPSSMechanismParams(com.itextpdf.commons.bouncycastle.asn1.IASN1ObjectIdentifier digestAlgoOid,
int saltLen,
int trailerField)
Instantiate RSASSA-PSS parameters with MGF1 for a given digest algorithm OID, salt length
and trailer field value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Signature signature)
Apply the parameters to a
Signature. |
static RSASSAPSSMechanismParams |
createForDigestAlgorithm(String digestAlgorithmName)
Instantiate RSASSA-PSS parameters with MGF1 for the given algorithm name.
|
com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable |
toEncodable()
Represent the parameters as an
IASN1Encodable for inclusion in a signature object. |
public static final int DEFAULT_TRAILER_FIELD
public RSASSAPSSMechanismParams(com.itextpdf.commons.bouncycastle.asn1.IASN1ObjectIdentifier digestAlgoOid,
int saltLen,
int trailerField)
digestAlgoOid - the digest algorithm OID that will be used for both the digest and MGFsaltLen - the salt lengthtrailerField - the trailer fieldpublic static RSASSAPSSMechanismParams createForDigestAlgorithm(String digestAlgorithmName)
digestAlgorithmName - the name of the digest algorithmpublic com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable toEncodable()
IASN1Encodable for inclusion in a signature object.toEncodable in interface ISignatureMechanismParamsIASN1Encodable objectpublic void apply(Signature signature)
Signature.apply in interface IApplicableSignatureParamssignature - an uninitialised Signature objectCopyright © 1998–2023 Apryse Group NV. All rights reserved.