Class PAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker<CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
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
Fields inherited from class eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker
offlineCertificateVerifier, signature
-
Constructor Summary
ConstructorDescriptionPAdESBaselineRequirementsChecker
(PAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Checks if BASELINE-B requirements satisfy for a CMS signatureprotected SignatureForm
Returns the signature form corresponding to the signatureboolean
Checks if the signature has a corresponding BASELINE-B profileboolean
Checks if the signature has a corresponding BASELINE-LTA profileboolean
Checks if the signature has a corresponding BASELINE-LT profileboolean
Checks if the signature has a corresponding BASELINE-T profileprotected boolean
Verifies a presence of LT-profile for a PDF signatureboolean
Checks if the signature has PKCS#7-LTA profileboolean
Checks if the signature has PKCS#7-LT profileboolean
Checks if the signature has PKCS#7 profile (according to ISO 32000-1)boolean
Checks if the signature has PKCS#7-T profileMethods inherited from class eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
containsLTLevelCertificates, 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
-
PAdESBaselineRequirementsChecker
public PAdESBaselineRequirementsChecker(PAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature
-PAdESSignature
offlineCertificateVerifier
-CertificateVerifier
-
-
Method Details
-
getBaselineSignatureForm
Description copied from class:CAdESBaselineRequirementsChecker
Returns the signature form corresponding to the signature- Overrides:
getBaselineSignatureForm
in classCAdESBaselineRequirementsChecker
- Returns:
SignatureForm
-
hasBaselineBProfile
public boolean hasBaselineBProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-B profile- Overrides:
hasBaselineBProfile
in classCAdESBaselineRequirementsChecker
- Returns:
- TRUE if the signature has a BASELINE-B profile, FALSE otherwise
-
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements()Description copied from class:CAdESBaselineRequirementsChecker
Checks if BASELINE-B requirements satisfy for a CMS signature- Overrides:
cmsBaselineBRequirements
in classCAdESBaselineRequirementsChecker
- Returns:
- TRUE if the CMS signature meet the BASELINE-B requirements, FALSE otherwise
-
hasBaselineTProfile
public boolean hasBaselineTProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-T profile- Overrides:
hasBaselineTProfile
in classCAdESBaselineRequirementsChecker
- Returns:
- TRUE if the signature has a BASELINE-T profile, FALSE otherwise
-
hasBaselineLTProfile
public boolean hasBaselineLTProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-LT profile- Overrides:
hasBaselineLTProfile
in classCAdESBaselineRequirementsChecker
- Returns:
- TRUE if the signature has a BASELINE-LT profile, FALSE otherwise
-
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()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-LTA profile- Overrides:
hasBaselineLTAProfile
in classCAdESBaselineRequirementsChecker
- Returns:
- TRUE if the signature has a BASELINE-LTA 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
-