Module jpms_dss_xades
Class XAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
eu.europa.esig.dss.xades.validation.XAdESBaselineRequirementsChecker
public class XAdESBaselineRequirementsChecker
extends eu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
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
ConstructorsConstructorDescriptionXAdESBaselineRequirementsChecker(XAdESSignature signature, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanChecks if the signature has a corresponding XAdES-A profilebooleanChecks if the signature has a corresponding XAdES-BES profilebooleanChecks if the signature has a corresponding XAdES-C profilebooleanChecks if the signature has a corresponding XAdES-EPES profilebooleanChecks if the signature has a corresponding XAdES-T profilebooleanChecks if the signature has a corresponding XAdES-XL profilebooleanChecks 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, eu.europa.esig.dss.validation.CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature-XAdESSignatureofflineCertificateVerifier-CertificateVerifier
-
-
Method Details
-
hasBaselineBProfile
public boolean hasBaselineBProfile()- Specified by:
hasBaselineBProfilein classeu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
-
hasBaselineTProfile
public boolean hasBaselineTProfile()- Specified by:
hasBaselineTProfilein classeu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
-
hasBaselineLTProfile
public boolean hasBaselineLTProfile()- Specified by:
hasBaselineLTProfilein classeu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
-
hasBaselineLTAProfile
public boolean hasBaselineLTAProfile()- Specified by:
hasBaselineLTAProfilein classeu.europa.esig.dss.validation.BaselineRequirementsChecker<XAdESSignature>
-
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
-