Class SignatureRequirementsChecker

java.lang.Object
eu.europa.esig.dss.signature.SignatureRequirementsChecker

public class SignatureRequirementsChecker extends Object
This class is used to verify if the signature can be created according to the provided requirements in a signature parameters instance
  • Constructor Details

  • Method Details

    • assertSigningCertificateIsValid

      public void assertSigningCertificateIsValid(CertificateToken certificateToken)
      This method verifies whether the provided certificate token is acceptable for a signature creation against the provided signatureParameters
      Parameters:
      certificateToken - CertificateToken
    • assertSigningCertificateIsValid

      public void assertSigningCertificateIsValid(AdvancedSignature signature)
      This method verifies a signing certificate of the given signature
      Parameters:
      signature - AdvancedSignature to verify