public class SigningCertificate extends XAdESBaseElement
The certificate used to verify the signature SHALL be identified in the sequence; the signature policy MAY mandate other certificates be present, that MAY include all the certificates 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.
Below follows the Schema definition.
<xsd:element name="SigningCertificate" type="CertIDListType"/>
<xsd:complexType name="CertIDListType">
<xsd:sequence>
<xsd:element name="Cert" type="CertIDType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CertIDType">
<xsd:sequence>
<xsd:element name="CertDigest" type="DigestAlgAndValueType"/>
<xsd:element name="IssuerSerial" type="ds:X509IssuerSerialType"/>
</xsd:sequence>
<xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
</xsd:complexType>
<xsd:complexType name="DigestAlgAndValueType">
<xsd:sequence>
<xsd:element ref="ds:DigestMethod"/>
<xsd:element ref="ds:DigestValue"/>
</xsd:sequence>
</xsd:complexType>
mContext, mElement, mId| Constructor and Description |
|---|
SigningCertificate(Context aBaglam) |
SigningCertificate(org.w3c.dom.Element aElement,
Context aContext)
Construct SigningCertificate from existing
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCertID(CertID aCertID) |
CertID |
getCertID(int aIndex) |
int |
getCertIDCount() |
java.util.List<CertID> |
getCertIDListCopy() |
java.lang.String |
getLocalName() |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic SigningCertificate(Context aBaglam)
public SigningCertificate(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 getCertIDCount()
public CertID getCertID(int aIndex)
public void addCertID(CertID aCertID)
public java.util.List<CertID> getCertIDListCopy()
public java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.