Class CAdESBaselineRequirementsChecker
java.lang.Object
eu.europa.esig.dss.validation.BaselineRequirementsChecker<CAdESSignature>
eu.europa.esig.dss.cades.validation.CAdESBaselineRequirementsChecker
- Direct Known Subclasses:
CMSForPAdESBaselineRequirementsChecker
,PAdESBaselineRequirementsChecker
Performs checks according to EN 319 122-1 v1.1.1
"6.3 Requirements on components and services"
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
offlineCertificateVerifier, signature
-
Constructor Summary
ModifierConstructorDescriptionprotected
CAdESBaselineRequirementsChecker
(CAdESSignature signature) Constructor is used to verify conformance of signature to Baseline-B levelCAdESBaselineRequirementsChecker
(CAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Checks if BASELINE-B requirements satisfy for a CMS signatureprotected SignatureForm
Returns the signature form corresponding to the signatureboolean
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 CAdES-A profileboolean
Checks if the signature has a corresponding CAdES-BES profileboolean
Checks if the signature has a corresponding CAdES-C profileboolean
Checks if the signature has a corresponding CAdES-EPES profileboolean
Checks if the signature has a corresponding CAdES-T profileboolean
Checks if the signature has a corresponding CAdES-XL profileboolean
Checks if the signature has a corresponding CAdES-X profileMethods inherited from class eu.europa.esig.dss.validation.BaselineRequirementsChecker
containsSigningCertificate, getCertificateSourcesExceptLastArchiveTimestamp, getValidationContext, isSignaturePolicyIdentifierHashPresent, minimalLTARequirement, minimalLTRequirement, minimalTRequirement, signatureTimestampsCreatedBeforeSignCertExpiration
-
Constructor Details
-
CAdESBaselineRequirementsChecker
Constructor is used to verify conformance of signature to Baseline-B level- Parameters:
signature
-CAdESSignature
-
CAdESBaselineRequirementsChecker
public CAdESBaselineRequirementsChecker(CAdESSignature signature, CertificateVerifier offlineCertificateVerifier) Default constructor- Parameters:
signature
-CAdESSignature
offlineCertificateVerifier
-CertificateVerifier
-
-
Method Details
-
getBaselineSignatureForm
Returns the signature form corresponding to the signature- Returns:
SignatureForm
-
cmsBaselineBRequirements
protected boolean cmsBaselineBRequirements()Checks if BASELINE-B requirements satisfy for a CMS signature- Returns:
- TRUE if the CMS signature meet the BASELINE-B requirements, FALSE otherwise
-
hasBaselineBProfile
public boolean hasBaselineBProfile()Description copied from class:BaselineRequirementsChecker
Checks if the signature has a corresponding BASELINE-B profile- Specified by:
hasBaselineBProfile
in classBaselineRequirementsChecker<CAdESSignature>
- 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<CAdESSignature>
- 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<CAdESSignature>
- 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<CAdESSignature>
- Returns:
- TRUE if the signature has a BASELINE-LTA profile, FALSE otherwise
-
hasExtendedBESProfile
public boolean hasExtendedBESProfile()Checks if the signature has a corresponding CAdES-BES profile- Returns:
- TRUE if the signature has a CAdES-BES profile, FALSE otherwise
-
hasExtendedEPESProfile
public boolean hasExtendedEPESProfile()Checks if the signature has a corresponding CAdES-EPES profile- Returns:
- TRUE if the signature has a CAdES-EPES profile, FALSE otherwise
-
hasExtendedTProfile
public boolean hasExtendedTProfile()Checks if the signature has a corresponding CAdES-T profile- Returns:
- TRUE if the signature has a CAdES-T profile, FALSE otherwise
-
hasExtendedCProfile
public boolean hasExtendedCProfile()Checks if the signature has a corresponding CAdES-C profile- Returns:
- TRUE if the signature has a CAdES-C profile, FALSE otherwise
-
hasExtendedXProfile
public boolean hasExtendedXProfile()Checks if the signature has a corresponding CAdES-X profile- Returns:
- TRUE if the signature has a CAdES-X profile, FALSE otherwise
-
hasExtendedXLProfile
public boolean hasExtendedXLProfile()Checks if the signature has a corresponding CAdES-XL profile- Returns:
- TRUE if the signature has a CAdES-XL profile, FALSE otherwise
-
hasExtendedAProfile
public boolean hasExtendedAProfile()Checks if the signature has a corresponding CAdES-A profile- Returns:
- TRUE if the signature has a CAdES-A profile, FALSE otherwise
-