Class CMSForPAdESBaselineRequirementsChecker
java.lang.Object
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
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.spi.validation.CertificateVerifierprotected final eu.europa.esig.dss.cades.validation.CAdESSignature -
Constructor Summary
ConstructorsConstructorDescriptionCMSForPAdESBaselineRequirementsChecker(eu.europa.esig.dss.cades.validation.CAdESSignature signature) Default constructor used to verify CMS ofCAdESSignatureon conformance to PAdES Baseline-B format -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected booleanprotected booleanprotected booleancontainsSigningCertificate(Collection<eu.europa.esig.dss.model.x509.CertificateToken> arg0) protected eu.europa.esig.dss.enumerations.SignatureFormprotected eu.europa.esig.dss.spi.x509.ListCertificateSourceprotected eu.europa.esig.dss.spi.validation.ValidationContextbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanprotected booleanbooleanThis method verifies validity of a CMS signature for enveloping within a PDF signature of PAdES-BASELINE formatbooleanbooleanprotected booleanprotected boolean
-
Field Details
-
signature
protected final eu.europa.esig.dss.cades.validation.CAdESSignature signature -
offlineCertificateVerifier
protected final eu.europa.esig.dss.spi.validation.CertificateVerifier offlineCertificateVerifier
-
-
Constructor Details
-
CMSForPAdESBaselineRequirementsChecker
public CMSForPAdESBaselineRequirementsChecker(eu.europa.esig.dss.cades.validation.CAdESSignature signature) Default constructor used to verify CMS ofCAdESSignatureon conformance to PAdES Baseline-B format- Parameters:
signature-CAdESSignatureto 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 eu.europa.esig.dss.enumerations.SignatureForm getBaselineSignatureForm() -
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements() -
hasBaselineBProfile
public boolean hasBaselineBProfile() -
hasBaselineTProfile
public boolean hasBaselineTProfile() -
hasBaselineLTProfile
public boolean hasBaselineLTProfile() -
containsLTLevelCertificates
protected boolean containsLTLevelCertificates() -
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile() -
hasExtendedBESProfile
public boolean hasExtendedBESProfile() -
cmsExtendedBESRequirements
protected boolean cmsExtendedBESRequirements() -
hasExtendedEPESProfile
public boolean hasExtendedEPESProfile() -
hasExtendedTProfile
public boolean hasExtendedTProfile() -
hasExtendedCProfile
public boolean hasExtendedCProfile() -
hasExtendedXProfile
public boolean hasExtendedXProfile() -
hasExtendedXLProfile
public boolean hasExtendedXLProfile() -
hasExtendedAProfile
public boolean hasExtendedAProfile() -
hasExtendedERSProfile
public boolean hasExtendedERSProfile() -
signatureTimestampsCreatedBeforeSignCertExpiration
protected boolean signatureTimestampsCreatedBeforeSignCertExpiration() -
minimalTRequirement
protected boolean minimalTRequirement() -
minimalLTRequirement
public boolean minimalLTRequirement() -
getCertificateSourcesExceptLastArchiveTimestamp
protected eu.europa.esig.dss.spi.x509.ListCertificateSource getCertificateSourcesExceptLastArchiveTimestamp() -
getValidationContext
protected eu.europa.esig.dss.spi.validation.ValidationContext getValidationContext() -
minimalLTARequirement
public boolean minimalLTARequirement() -
containsSigningCertificate
protected boolean containsSigningCertificate(Collection<eu.europa.esig.dss.model.x509.CertificateToken> arg0) -
isSignaturePolicyIdentifierHashPresent
protected boolean isSignaturePolicyIdentifierHashPresent()
-