Class PAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.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.validation.BaselineRequirementsChecker
offlineCertificateVerifier, signature -
Constructor Summary
ConstructorsConstructorDescriptionPAdESBaselineRequirementsChecker(PAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanChecks if BASELINE-B requirements satisfy for a CMS signatureprotected SignatureFormReturns the signature form corresponding to the signaturebooleanChecks if the signature has a corresponding BASELINE-B profilebooleanChecks if the signature has a corresponding BASELINE-LTA profilebooleanChecks if the signature has a corresponding BASELINE-LT profilebooleanChecks if the signature has a corresponding BASELINE-T profilebooleanChecks 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, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature-PAdESSignatureofflineCertificateVerifier-CertificateVerifier
-
-
Method Details
-
getBaselineSignatureForm
Description copied from class:CAdESBaselineRequirementsCheckerReturns the signature form corresponding to the signature- Overrides:
getBaselineSignatureFormin classCAdESBaselineRequirementsChecker- Returns:
SignatureForm
-
hasBaselineBProfile
public boolean hasBaselineBProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-B profile- Overrides:
hasBaselineBProfilein classCAdESBaselineRequirementsChecker- Returns:
- TRUE if the signature has a BASELINE-B profile, FALSE otherwise
-
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements()Description copied from class:CAdESBaselineRequirementsCheckerChecks if BASELINE-B requirements satisfy for a CMS signature- Overrides:
cmsBaselineBRequirementsin classCAdESBaselineRequirementsChecker- Returns:
- TRUE if the CMS signature meet the BASELINE-B requirements, FALSE otherwise
-
hasBaselineTProfile
public boolean hasBaselineTProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-T profile- Overrides:
hasBaselineTProfilein classCAdESBaselineRequirementsChecker- Returns:
- TRUE if the signature has a BASELINE-T profile, FALSE otherwise
-
hasBaselineLTProfile
public boolean hasBaselineLTProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-LT profile- Overrides:
hasBaselineLTProfilein classCAdESBaselineRequirementsChecker- Returns:
- TRUE if the signature has a BASELINE-LT profile, FALSE otherwise
-
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-LTA profile- Overrides:
hasBaselineLTAProfilein 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
-