Class XAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
eu.europa.esig.dss.xades.validation.XAdESBaselineRequirementsChecker
Performs checks according to EN 319 132-1 v1.1.1
"6.3 Requirements on XAdES signature's elements, qualifying properties and services"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
offlineCertificateVerifier, signature
-
Constructor Summary
ConstructorDescriptionXAdESBaselineRequirementsChecker
(XAdESSignature 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 profileboolean
Checks if the signature has a corresponding XAdES-A profileboolean
Checks if the signature has a corresponding XAdES-BES profileboolean
Checks if the signature has a corresponding XAdES-C profileboolean
Checks if the signature has a corresponding XAdES-EPES profileboolean
Checks if the signature has a corresponding XAdES-T profileboolean
Checks if the signature has a corresponding XAdES-XL profileboolean
Checks if the signature has a corresponding XAdES-X profileMethods inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
XAdESBaselineRequirementsChecker
public XAdESBaselineRequirementsChecker(XAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature
-XAdESSignature
offlineCertificateVerifier
-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<XAdESSignature>
- 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<XAdESSignature>
- 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<XAdESSignature>
- 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<XAdESSignature>
- Returns:
- TRUE if the signature has a BASELINE-LTA profile, FALSE otherwise
-
hasExtendedBESProfile
public boolean hasExtendedBESProfile()Checks if the signature has a corresponding XAdES-BES profile- Returns:
- TRUE if the signature has a XAdES-BES profile, FALSE otherwise
-
hasExtendedEPESProfile
public boolean hasExtendedEPESProfile()Checks if the signature has a corresponding XAdES-EPES profile- Returns:
- TRUE if the signature has a XAdES-EPES profile, FALSE otherwise
-
hasExtendedTProfile
public boolean hasExtendedTProfile()Checks if the signature has a corresponding XAdES-T profile- Returns:
- TRUE if the signature has a XAdES-T profile, FALSE otherwise
-
hasExtendedCProfile
public boolean hasExtendedCProfile()Checks if the signature has a corresponding XAdES-C profile- Returns:
- TRUE if the signature has a XAdES-C profile, FALSE otherwise
-
hasExtendedXProfile
public boolean hasExtendedXProfile()Checks if the signature has a corresponding XAdES-X profile- Returns:
- TRUE if the signature has a XAdES-X profile, FALSE otherwise
-
hasExtendedXLProfile
public boolean hasExtendedXLProfile()Checks if the signature has a corresponding XAdES-XL profile- Returns:
- TRUE if the signature has a XAdES-XL profile, FALSE otherwise
-
hasExtendedAProfile
public boolean hasExtendedAProfile()Checks if the signature has a corresponding XAdES-A profile- Returns:
- TRUE if the signature has a XAdES-A profile, FALSE otherwise
-