Class XAdESVerificationResult

java.lang.Object
xades4j.verification.XAdESVerificationResult

public class XAdESVerificationResult extends Object
The result of signature verification. It includes the signature form, the qualifying properties, the signed data objects and the validation data.
Author:
Luís
  • Method Details

    • getSignatureForm

      public XAdESForm getSignatureForm()
    • getXmlSignature

      public org.apache.xml.security.signature.XMLSignature getXmlSignature()
    • getSignatureAlgorithmUri

      public String getSignatureAlgorithmUri()
    • getCanonicalizationAlgorithmUri

      public String getCanonicalizationAlgorithmUri()
    • getValidationData

      public ValidationData getValidationData()
      Gets the certificates and CRLs used to verify the signature.
      Returns:
      the validation data
    • getValidationCertificate

      public X509Certificate getValidationCertificate()
      Gets the certificate that was used to verify the signature.
      Returns:
      the certificate
    • getPropertiesFilter

      public DataGetter<QualifyingProperty> getPropertiesFilter()
      Gets a DataGetter that allows easy filtered access to the properties.
      Returns:
      the filter
    • getPropertiesAndData

      public Collection<PropertyInfo> getPropertiesAndData()
      Gets pairs of properties and corresponding data objects if detailed information is needed.
      Returns:
      a collections of pairs of properties and data objects
    • getQualifyingProperties

      public QualifyingProperties getQualifyingProperties()
      Gets the whole set of qualifying properties in the signature, organized by type.
      Returns:
      the properties
    • getSignedDataObjects

      public Collection<RawDataObjectDesc> getSignedDataObjects()
      Gets a representation of the signed data objects, which gives access to their properties and References.
      Returns:
      the signed data objects