Class JAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.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.validation.BaselineRequirementsChecker
offlineCertificateVerifier, signature
-
Constructor Summary
ConstructorDescriptionJAdESBaselineRequirementsChecker
(JAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 profileMethods inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
JAdESBaselineRequirementsChecker
public JAdESBaselineRequirementsChecker(JAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature
-JAdESSignature
to validateofflineCertificateVerifier
-CertificateVerifier
offline copy of a used CertificateVerifier
-
-
Method Details
-
hasBaselineBProfile
public boolean hasBaselineBProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-B profile- Specified by:
hasBaselineBProfile
in classBaselineRequirementsChecker<JAdESSignature>
- Returns:
- TRUE if the signature has a BASELINE-B profile, FALSE otherwise
-
hasBaselineTProfile
public boolean hasBaselineTProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-T profile- Specified by:
hasBaselineTProfile
in classBaselineRequirementsChecker<JAdESSignature>
- 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- Specified by:
hasBaselineLTProfile
in classBaselineRequirementsChecker<JAdESSignature>
- Returns:
- TRUE if the signature has a BASELINE-LT profile, FALSE otherwise
-
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-LTA profile- Specified by:
hasBaselineLTAProfile
in classBaselineRequirementsChecker<JAdESSignature>
- Returns:
- TRUE if the signature has a BASELINE-LTA profile, FALSE otherwise
-