Class JAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker<JAdESSignature>
eu.europa.esig.dss.jades.validation.JAdESBaselineRequirementsChecker
Performs checks according to EN 119 182-1 v1.1.1
"6.3 Requirements on JAdES components and services"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker
offlineCertificateVerifier, signature -
Constructor Summary
ConstructorsConstructorDescriptionJAdESBaselineRequirementsChecker(JAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanThis method verifies whether the signature contains some of the LT-/XL level attributesbooleanChecks 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 profileMethods inherited from class eu.europa.esig.dss.spi.signature.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, hasExtendedAProfile, hasExtendedBESProfile, hasExtendedCProfile, hasExtendedEPESProfile, hasExtendedTProfile, hasExtendedXLProfile, hasExtendedXProfile, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
JAdESBaselineRequirementsChecker
public JAdESBaselineRequirementsChecker(JAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature-JAdESSignatureto validateofflineCertificateVerifier-CertificateVerifieroffline copy of a used CertificateVerifier
-
-
Method Details
-
hasBaselineBProfile
public boolean hasBaselineBProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-B profile- Specified by:
hasBaselineBProfilein classBaselineRequirementsChecker<JAdESSignature>- Returns:
- TRUE if the signature has a BASELINE-B profile, FALSE otherwise
-
hasBaselineTProfile
public boolean hasBaselineTProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-T profile- Specified by:
hasBaselineTProfilein classBaselineRequirementsChecker<JAdESSignature>- 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- Specified by:
hasBaselineLTProfilein classBaselineRequirementsChecker<JAdESSignature>- Returns:
- TRUE if the signature has a BASELINE-LT profile, FALSE otherwise
-
containsLTLevelCertificates
protected boolean containsLTLevelCertificates()Description copied from class:BaselineRequirementsCheckerThis method verifies whether the signature contains some of the LT-/XL level attributes- Overrides:
containsLTLevelCertificatesin classBaselineRequirementsChecker<JAdESSignature>- Returns:
- TRUE if the signature contains LT-/XL- level attributes, FALSE otherwise
-
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile()Description copied from class:BaselineRequirementsCheckerChecks if the signature has a corresponding BASELINE-LTA profile- Specified by:
hasBaselineLTAProfilein classBaselineRequirementsChecker<JAdESSignature>- Returns:
- TRUE if the signature has a BASELINE-LTA profile, FALSE otherwise
-