Class CMSForPAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker<CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
eu.europa.esig.dss.pades.validation.CMSForPAdESBaselineRequirementsChecker
This class is used to verify conformance of a CMSSignedData to be incorporated to a PDF as a PAdES signature
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker
offlineCertificateVerifier, signature
-
Constructor Summary
ConstructorDescriptionDefault constructor used to verify CMS ofCAdESSignature
on conformance to PAdES Baseline-B format -
Method Summary
Modifier and TypeMethodDescriptionprotected SignatureForm
Returns the signature form corresponding to the signatureboolean
This method verifies validity of a CMS signature for enveloping within a PDF signature of PAdES-BASELINE formatMethods inherited from class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
cmsBaselineBRequirements, containsLTLevelCertificates, hasBaselineBProfile, hasBaselineLTAProfile, hasBaselineLTProfile, hasBaselineTProfile, hasExtendedAProfile, hasExtendedBESProfile, hasExtendedCProfile, hasExtendedEPESProfile, hasExtendedTProfile, hasExtendedXLProfile, hasExtendedXProfile
Methods inherited from class eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
CMSForPAdESBaselineRequirementsChecker
Default constructor used to verify CMS ofCAdESSignature
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
Description copied from class:CAdESBaselineRequirementsChecker
Returns the signature form corresponding to the signature- Overrides:
getBaselineSignatureForm
in classCAdESBaselineRequirementsChecker
- Returns:
SignatureForm
-