public class CertID extends XAdESBaseElement
SigningCertificate element contains the aforementioned
sequence of certificate identifiers and digests computed on the
certificates (Cert elements).
The element IssuerSerial contains the identifier of one
of the certificates referenced in the sequence. Should the
ds:X509IssuerSerial element appear in the signature to denote
the same certificate, its value MUST be consistent with the corresponding
IssuerSerial element.
The element CertDigest contains the digest of one of the certificates
referenced in the sequence. It contains two elements:
ds:DigestMethod indicates the digest algorithm and
ds:DigestValue contains the base-64 encoded value of the digest
computed on the DER-encoded certificate.
The optional URI attribute indicates where the referenced
certificate can be found.
Below follows the Schema definition.
<xsd:element name="Cert" type="CertIDType"/>
<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>
| Modifier and Type | Field and Description |
|---|---|
protected java.math.BigInteger |
mX509SerialNumber |
mContext, mElement, mId| Constructor and Description |
|---|
CertID(Context aContext) |
CertID(Context aBaglam,
tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate,
DigestMethod aDigestAlg) |
CertID(org.w3c.dom.Element aElement,
Context aContext)
Mevcut xml yapisindaki elemanı cozmek icin constructor
|
| Modifier and Type | Method and Description |
|---|---|
DigestMethod |
getDigestMethod() |
byte[] |
getDigestValue() |
java.lang.String |
getLocalName() |
java.lang.String |
getURI() |
java.lang.String |
getX509IssuerName() |
java.math.BigInteger |
getX509SerialNumber() |
void |
setDigestMethod(DigestMethod aDigestMethod) |
void |
setDigestValue(byte[] aDigestValue) |
void |
setURI(java.lang.String aURI) |
void |
setX509IssuerName(java.lang.String aX509IssuerName) |
void |
setX509SerialNumber(java.math.BigInteger aX509SerialNumber) |
tr.gov.tubitak.uekae.esya.api.signature.certval.CertificateSearchCriteria |
toSearchCriteria() |
java.lang.String |
toString() |
getNamespaceaddBigIntegerElement, addLineBreak, addLineBreak, checkNamespace, createElement, generateAndSetId, getAttribute, getBigIntegerFromElement, getChildText, getContext, getDocument, getElement, getId, insertBase64EncodedElement, insertElement, insertTextElement, selectChildElement, selectChildren, setIdpublic CertID(Context aContext)
public CertID(Context aBaglam, tr.gov.tubitak.uekae.esya.api.asn.x509.ECertificate aCertificate, DigestMethod aDigestAlg) throws XMLSignatureException
XMLSignatureExceptionpublic CertID(org.w3c.dom.Element aElement,
Context aContext)
throws XMLSignatureException
aElement - xml element to unmarshallaContext - which owner signature belongs toXMLSignatureException - if wrong element is given!public DigestMethod getDigestMethod()
public void setDigestMethod(DigestMethod aDigestMethod)
public byte[] getDigestValue()
public void setDigestValue(byte[] aDigestValue)
public java.lang.String getX509IssuerName()
public void setX509IssuerName(java.lang.String aX509IssuerName)
public java.math.BigInteger getX509SerialNumber()
public void setX509SerialNumber(java.math.BigInteger aX509SerialNumber)
public java.lang.String getURI()
public void setURI(java.lang.String aURI)
public tr.gov.tubitak.uekae.esya.api.signature.certval.CertificateSearchCriteria toSearchCriteria()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getLocalName()
getLocalName in class BaseElementCopyright © 2025. All rights reserved.