public final class

SigningCertificateProperty

extends SignedSignatureProperty
java.lang.Object
   ↳ xades4j.properties.SignatureProperty
     ↳ xades4j.properties.SignedSignatureProperty
       ↳ xades4j.properties.SigningCertificateProperty

Class Overview

The SigningCertificate property is designed to prevent the simple substitution of the certificate. This property contains references to certificates and digest values computed on them. The certificate used to verify the signature shall be identified in the sequence. Other certificates may be present, possibily up to the point of trust.

This is a signed property that qualifies the signature. At most one SigningCertificate element may be present in the signature.

In signature production this property canno be supplied directly because it is mandatory. It is enforced by the XadesSigner.

Summary

Constants
String PROP_NAME
[Expand]
Inherited Constants
From interface xades4j.properties.QualifyingProperty
Public Constructors
SigningCertificateProperty(Collection<X509Certificate> signingCertificateChain)
Public Methods
String getName()
Collection<X509Certificate> getsigningCertificateChain()
Gets the fragment of the certificate chain contained in the property.
[Expand]
Inherited Methods
From class xades4j.properties.SignedSignatureProperty
From class xades4j.properties.SignatureProperty
From class java.lang.Object
From interface xades4j.properties.QualifyingProperty

Constants

public static final String PROP_NAME

Constant Value: "SigningCertificate"

Public Constructors

public SigningCertificateProperty (Collection<X509Certificate> signingCertificateChain)

Public Methods

public String getName ()

public Collection<X509Certificate> getsigningCertificateChain ()

Gets the fragment of the certificate chain contained in the property. This is an ordered collection starting at the signing certificate and following the convention of X.509 java.security.cert.CertPaths. It may contain only one the signing certificate.

Returns
  • the certificate chain