Class RSASSAPSSMechanismParams

java.lang.Object
com.itextpdf.signatures.RSASSAPSSMechanismParams
All Implemented Interfaces:
IApplicableSignatureParams, ISignatureMechanismParams

public class RSASSAPSSMechanismParams extends Object implements IApplicableSignatureParams
Encode the signer's parameters for producing an RSASSA-PSS signature. Note that this class is intended for use in the signing process only, so it does not need to be able to represent all possible parameter configurations; only the ones we consider reasonable. For the purposes of this class, the mask generation function is always MGF1, and the associated digest function is the same as the digest function used in the signing process.
  • Field Details

    • DEFAULT_TRAILER_FIELD

      public static final int DEFAULT_TRAILER_FIELD
      Default value of the trailer field parameter.
      See Also:
  • Constructor Details

    • RSASSAPSSMechanismParams

      public RSASSAPSSMechanismParams (IASN1ObjectIdentifier digestAlgoOid, int saltLen, int trailerField)
      Instantiate RSASSA-PSS parameters with MGF1 for a given digest algorithm OID, salt length and trailer field value.
      Parameters:
      digestAlgoOid - the digest algorithm OID that will be used for both the digest and MGF
      saltLen - the salt length
      trailerField - the trailer field
  • Method Details