xades4j.verification
Class XAdESVerificationResult

java.lang.Object
  extended by 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 Summary
 String getCanonicalizationAlgorithmUri()
           
 Collection<PropertyInfo> getPropertiesAndData()
          Gets pairs of properties and corresponding data objects if detailed information is needed.
 DataGetter<QualifyingProperty> getPropertiesFilter()
          Gets a DataGetter that allows easy filtered access to the properties.
 QualifyingProperties getQualifyingProperties()
          Gets the whole set of qualifying properties in the signature, organized by type.
 String getSignatureAlgorithmUri()
           
 XAdESForm getSignatureForm()
           
 Collection<RawDataObjectDesc> getSignedDataObjects()
          Gets a representation of the signed data objects, which gives access to their properties and References.
 X509Certificate getValidationCertificate()
          Gets the certificate that was used to verify the signature.
 ValidationData getValidationData()
          Gets the certificates and CRLs used to verify the signature.
 org.apache.xml.security.signature.XMLSignature getXmlSignature()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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


Copyright © 2012. All Rights Reserved.