Class CMSForPAdESBaselineRequirementsChecker


public class CMSForPAdESBaselineRequirementsChecker extends CAdESBaselineRequirementsChecker
This class is used to verify conformance of a CMSSignedData to be incorporated to a PDF as a PAdES signature
  • Constructor Details

    • CMSForPAdESBaselineRequirementsChecker

      public CMSForPAdESBaselineRequirementsChecker(CAdESSignature signature)
      Default constructor used to verify CMS of CAdESSignature on conformance to PAdES Baseline-B format
      Parameters:
      signature - CAdESSignature to be verified
  • Method Details

    • isValidForPAdESBaselineBProfile

      public boolean isValidForPAdESBaselineBProfile()
      This method verifies validity of a CMS signature for enveloping within a PDF signature of PAdES-BASELINE format
      Returns:
      TRUE if the CMS signature is conformant to PAdES-BASELINE format, FALSE otherwise
    • getBaselineSignatureForm

      protected SignatureForm getBaselineSignatureForm()
      Description copied from class: CAdESBaselineRequirementsChecker
      Returns the signature form corresponding to the signature
      Overrides:
      getBaselineSignatureForm in class CAdESBaselineRequirementsChecker
      Returns:
      SignatureForm