Class PAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.pades.validation.PAdESBaselineRequirementsChecker
Performs checks according to EN 319 142-1 v1.1.1
"6.3 PAdES baseline signatures"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final eu.europa.esig.dss.spi.validation.CertificateVerifierprotected final eu.europa.esig.dss.cades.validation.CAdESSignature -
Constructor Summary
ConstructorsConstructorDescriptionPAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.spi.validation.CertificateVerifier offlineCertificateVerifier) Default constructor -
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.ValidationContextbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanChecks if the signature has a corresponding PAdES-E-LTV profilebooleanbooleanbooleanprotected booleanVerifies a presence of LT-profile for a PDF signaturebooleanChecks if the signature has PKCS#7-LTA profilebooleanChecks if the signature has PKCS#7-LT profilebooleanChecks if the signature has PKCS#7 profile (according to ISO 32000-1)booleanChecks if the signature has PKCS#7-T profileprotected booleanbooleanbooleanprotected 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
-
PAdESBaselineRequirementsChecker
public PAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.spi.validation.CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature-PAdESSignatureofflineCertificateVerifier-CertificateVerifier
-
-
Method Details
-
getBaselineSignatureForm
protected eu.europa.esig.dss.enumerations.SignatureForm getBaselineSignatureForm() -
hasBaselineBProfile
public boolean hasBaselineBProfile() -
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements() -
hasBaselineTProfile
public boolean hasBaselineTProfile() -
hasBaselineLTProfile
public boolean hasBaselineLTProfile() -
hasLTProfile
protected boolean hasLTProfile()Verifies a presence of LT-profile for a PDF signature- Returns:
- TRUE if the LT-profile is present, FALSE otherwise
-
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile() -
hasExtendedBESProfile
public boolean hasExtendedBESProfile() -
hasExtendedEPESProfile
public boolean hasExtendedEPESProfile() -
hasExtendedLTVProfile
public boolean hasExtendedLTVProfile()Checks if the signature has a corresponding PAdES-E-LTV profile- Returns:
- TRUE if the signature has a PAdES-E-LTV profile, FALSE otherwise
-
hasPKCS7Profile
public boolean hasPKCS7Profile()Checks if the signature has PKCS#7 profile (according to ISO 32000-1)- Returns:
- TRUE if the signature has a PKCS#7 profile, FALSE otherwise
-
hasPKCS7TProfile
public boolean hasPKCS7TProfile()Checks if the signature has PKCS#7-T profile- Returns:
- TRUE if the signature has a PKCS#7-T profile, FALSE otherwise
-
hasPKCS7LTProfile
public boolean hasPKCS7LTProfile()Checks if the signature has PKCS#7-LT profile- Returns:
- TRUE if the signature has a PKCS#7-LT profile, FALSE otherwise
-
hasPKCS7LTAProfile
public boolean hasPKCS7LTAProfile()Checks if the signature has PKCS#7-LTA profile- Returns:
- TRUE if the signature has a PKCS#7-LTA profile, FALSE otherwise
-
containsLTLevelCertificates
protected boolean containsLTLevelCertificates() -
cmsExtendedBESRequirements
protected boolean cmsExtendedBESRequirements() -
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()
-