public class CompleteCertificateRefs extends XAdESBaseElement implements UnsignedSignaturePropertyElement
CompleteCertificateRefs element is the XML element able to carry
the references to the CA certificates.
This is an optional unsigned property that qualifies the signature.
There SHALL be at most one occurence of this property in the signature.
<xsd:element name="CompleteCertificateRefs" type="CompleteCertificateRefsType"/>
<xsd:complexType name="CompleteCertificateRefsType">
<xsd:sequence>
<xsd:element name="CertRefs" type="CertIDListType" />
</xsd:sequence>
<xsd:attribute name="Id" type="xsd:ID" use="optional"/>
</xsd:complexType>
The CertRefs element contains a sequence of Cert
elements already defined in clause 7.2.2, incorporating the digest of each
certificate and the issuer and serial number identifier.
Should XML time-stamp tokens based in XMLDSIG be standardized and spread, this type could also serve to contain references to the certification chain for any TSUs providing such time-stamp tokens. In this case, an element of this type could be added as an unsigned property to the XML time-stamp token using the incorporation mechanisms defined in the present document.
mContext, mElement, mId| Constructor and Description |
|---|
CompleteCertificateRefs(Context aContext) |
CompleteCertificateRefs(org.w3c.dom.Element aElement,
Context aContext)
Construct XADESBaseElement from existing
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCertificateReference(CertID aCertificateReference) |
CertID |
getCertificateReference(int aIndex) |
int |
getCertificateReferenceCount() |
java.lang.String |
getLocalName() |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic CompleteCertificateRefs(Context aContext)
public CompleteCertificateRefs(org.w3c.dom.Element aElement,
Context aContext)
throws XMLSignatureException
aElement - xml elementaContext - according to contextXMLSignatureException - when structure is invalid or can not be
resolved appropriatelypublic int getCertificateReferenceCount()
public CertID getCertificateReference(int aIndex)
public void addCertificateReference(CertID aCertificateReference)
public java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.