Module jpms_dss_pades
Class PAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<eu.europa.esig.dss.cades.validation.CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
eu.europa.esig.dss.pades.validation.PAdESBaselineRequirementsChecker
public class PAdESBaselineRequirementsChecker
extends eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
Performs checks according to EN 319 142-1 v1.1.1
"6.3 PAdES baseline signatures"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
offlineCertificateVerifier, signature -
Constructor Summary
ConstructorsConstructorDescriptionPAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected eu.europa.esig.dss.enumerations.SignatureFormbooleanbooleanbooleanbooleanprotected 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 profileMethods inherited from class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
hasExtendedAProfile, hasExtendedBESProfile, hasExtendedCProfile, hasExtendedEPESProfile, hasExtendedTProfile, hasExtendedXLProfile, hasExtendedXProfileMethods inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
PAdESBaselineRequirementsChecker
public PAdESBaselineRequirementsChecker(PAdESSignature signature, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature-PAdESSignatureofflineCertificateVerifier-CertificateVerifier
-
-
Method Details
-
getBaselineSignatureForm
protected eu.europa.esig.dss.enumerations.SignatureForm getBaselineSignatureForm()- Overrides:
getBaselineSignatureFormin classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
hasBaselineBProfile
public boolean hasBaselineBProfile()- Overrides:
hasBaselineBProfilein classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements()- Overrides:
cmsBaselineBRequirementsin classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
hasBaselineTProfile
public boolean hasBaselineTProfile()- Overrides:
hasBaselineTProfilein classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
hasBaselineLTProfile
public boolean hasBaselineLTProfile()- Overrides:
hasBaselineLTProfilein classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
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()- Overrides:
hasBaselineLTAProfilein classeu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
-
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
-