Package xades4j.verification
package xades4j.verification
Support for signature verification.
The entry points for producing a signature is the XadesVerificationProfile
class which enables the creation of a XadesVerifier
.
The library supports verification of XAdES-BES, XAdES-EPES, XAdES-T and XAdES-C.
A signature being verified can also be augmented to XAdES-T, XAdES-C, XAdES-X and XAdES-X-L.
-
ClassDescriptionThrown during verification of the
CommitmentTypeIndication
property if it contains an object reference that doesn't match anyReference
in the signature.Thrown during verification of theCompleteCertificateRefs
property if a reference for a certificate in the certification path is not found in the property.Thrown during verification of theCompleteCertificateRefs
property if the digest on a reference doesn't match the actual digest of the corresponding certificate.Base for exceptions during verification of theCompleteCertificateRefs
property.Thrown during verification of theCompleteRevocationRefs
property if no CRLs were supplied when validating the signing certificate.Thrown during the verification of theCompleteRevocationRefs
property if a CRL reference cannot be verified or is not found.Base for exceptions during verification of theCompleteRevocationRefs
property.Base for errors when the core (XML-DSIG) verification fails.Throw during validation of theCounterSignature
property if the enclosed signature doesn't reference theSignatureValue
element of the countersigned signature.Throw during validation of theCounterSignature
property if the XAdES verification of the signature fails.Interface for custom signature verifiers.Thrown during validation of theDataObjectFormat
property if the correspondingReference
references anObject
and mime-type and/or encoding in the property an in theObject
are not equal.Thrown during validation of theDataObjectFormat
property if the targetReference
cannot be found.Base for exceptions during verification of theDataObjectFormat
property.Thrown during signature verification (with form extension) when the form transition is invalid.Thrown during the verification process if theKeyInfo
element doesn't include the needed data to identify the signing certificate.Base for exceptions thrown during the validation of qualifying properties.Base exception for signature verification errors.Thrown when the signature doesn't fulfill the rules for the XAdES forms.Thrown during signature verification if the signature doesn't fulfill the properties incorporation rules.The context available during the verification of the qualifying properties.The find methods assume that object references are same-document references.QualifyingPropertyVerifier<TData extends PropertyDataObject>Verifies a property accordingly to the XAdES verification rules.Thrown during the verification of qualifyig properties if a verifier is not found for one of the property data objects.A simple representation of a signed data object.Interface for verifiers that are applied after signature unmarshalling and before any actual verification.The context forRawSignatureVerifier
s.Thrown during signature verification when the core verification fails due to reference validation.Thrown during verification of theSignaturePolicyIdentifier
property if the digest of the policy document cannot be calculated (the algorithm is not available).Thrown during verification of theSignaturePolicyIdentifier
property if the actual digest of the policy document and the digest contained in the property are different.Thrown during verification of theSignaturePolicyIdentifier
property if there is an error acessing the policy document stream.Base for exceptions during verification of theSignaturePolicyIdentifier
property.Represents verification options that are specific to a signature, i.e., options that are not profile-wide.Thrown during signature verification if the process fails due to an invalid signature value but the references digests are correct.Thrown during verification of theSigningCertificate
property if the property contains one or more references to certificates that are not part of the certification path.Thrown during verification of theSigningCertificate
property if the issuer/serial onKeyInfo
is different from the one in the signing certificate reference.Exception to throw in case a signing certificate has a keyUsage extension that does not allow signing.Thrown during verification of theSigningCertificate
property if the validation of one of the certificate references fails.Thrown during verification of theSigningCertificate
property if a reference for the signing certificate is not present in the property.Base for exceptions during verification of theSigningCertificate
property.Thrown during verification of theSigningTime
property if the time contained in the property is not before the verification time.Thrown during signature verification if the time-stamps contained in the signature are not coherent.Thrown during verification of time-stamp properties if the input for digest calculation cannot be created.Thrown during verification of time-stamp properties if the actual digest of the data covered by the time-stamp is different from the digest within the time-stamp.Thrown during verification of time-stamp properties if the signature of a time-stamp token cannot be verifiedThrown during verification of time-stamp properties if the token's structure (format) is invalid.Base for exceptions during verification of time-stamp properties.Thrown if there is an unexpected error when using the JCA.The different XAdES signature forms.A profile for signature verification.The result of signature verification.Interface for a verifier of signatures.