xades4j.properties
Class CompleteCertificateRefsProperty
java.lang.Object
xades4j.properties.SignatureProperty
xades4j.properties.UnsignedSignatureProperty
xades4j.properties.CompleteCertificateRefsProperty
- All Implemented Interfaces:
- QualifyingProperty
public final class CompleteCertificateRefsProperty
- extends UnsignedSignatureProperty
The CompleteCertificateRefs property which contains the sequence of
references to the full set of CA certificates that have been used to validate
the electronic signature up to (but not including) the signer's certificate.
This is an optional unsigned property that qualifies the signature. There is
at most one occurence of this property in the signature.
This property is not used directly when producing a signature. Instead, it is
enforced by the XadesSigner producing a XAdES-C.
- Author:
- Luís
| Fields inherited from interface xades4j.properties.QualifyingProperty |
QUALIFYING_PROPS_REF_TAG, QUALIFYING_PROPS_TAG, SIGNED_DATAOBJ_PROPS_TAG, SIGNED_PROPS_TAG, SIGNED_PROPS_TYPE_URI, SIGNED_SIGNATURE_PROPS_TAG, TARGET_ATTR, UNSIGNED_DATAOBJ_PROPS_TAG, UNSIGNED_PROPS_TAG, UNSIGNED_SIGNATURE_PROPS_TAG, XADES_XMLNS, XADESV141_XMLNS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_NAME
public static final String PROP_NAME
- See Also:
- Constant Field Values
CompleteCertificateRefsProperty
public CompleteCertificateRefsProperty(Collection<X509Certificate> certificates)
- Creates an instance of the property that will result in certificate references
for
certificates.
- Parameters:
certificates - the set of certificates that will have references on the property
- Throws:
NullPointerException - if certificates is null
getCertificates
public Collection<X509Certificate> getCertificates()
getName
public String getName()
- Description copied from interface:
QualifyingProperty
- Gets the name of the property, as specified in XAdES (the element name).
- Returns:
- the name
Copyright © 2012. All Rights Reserved.