Class PAdESSignatureRequirementsChecker
java.lang.Object
eu.europa.esig.dss.signature.SignatureRequirementsChecker
eu.europa.esig.dss.pades.signature.PAdESSignatureRequirementsChecker
This class is used to verify signature creation or augmentation requirements for PAdES signatures
-
Field Summary
Fields inherited from class eu.europa.esig.dss.signature.SignatureRequirementsChecker
certificateVerifier, signatureParameters
-
Constructor Summary
ConstructorDescriptionPAdESSignatureRequirementsChecker
(CertificateVerifier certificateVerifier, PAdESSignatureParameters signatureParameters) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkTLevelIsHighest
(AdvancedSignature signature, SignatureStatus status) Verifies whether thesignature
has maximum B- or T-levelMethods inherited from class eu.europa.esig.dss.signature.SignatureRequirementsChecker
assertCertificateChainValidForCLevel, assertCertificateChainValidForLTLevel, assertCertificateChainValidForXLLevel, assertCLevelIsHighest, assertExtendToCLevelPossible, assertExtendToLTLevelPossible, assertExtendToTLevelPossible, assertExtendToXLevelPossible, assertExtendToXLLevelPossible, assertLTLevelIsHighest, assertSignaturesValid, assertSigningCertificateIsValid, assertSigningCertificateIsValid, assertSigningCertificateIsValid, assertTLevelIsHighest, assertXLevelIsHighest, assertXLLevelIsHighest, checkCLevelIsHighest, checkLTLevelIsHighest, checkXLevelIsHighest, checkXLLevelIsHighest, hasALevelOrHigher, hasLTALevelOrHigher, hasLTLevelOrHigher, hasXLevelOrHigher, hasXLLevelOrHigher
-
Constructor Details
-
PAdESSignatureRequirementsChecker
public PAdESSignatureRequirementsChecker(CertificateVerifier certificateVerifier, PAdESSignatureParameters signatureParameters) Default constructor- Parameters:
certificateVerifier
-CertificateVerifier
signatureParameters
-PAdESSignatureParameters
-
-
Method Details
-
checkTLevelIsHighest
Description copied from class:SignatureRequirementsChecker
Verifies whether thesignature
has maximum B- or T-level- Overrides:
checkTLevelIsHighest
in classSignatureRequirementsChecker
- Parameters:
signature
-AdvancedSignature
to be verifiesstatus
-SignatureStatus
to fill in case of error
-