public abstract class X509IssuerSerialType extends DOMStructure implements X509IssuerSerial
X509IssuerSerial type that supports the
DOM XML representation and marshaling mechanism.DOMStructure.NodeWrapper| Modifier and Type | Field and Description |
|---|---|
protected Name |
issuerName_
The issuer DN.
|
protected BigInteger |
serialNumber_
The serial number.
|
implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALED| Modifier | Constructor and Description |
|---|---|
protected |
X509IssuerSerialType(Node node)
Creates a new instance of this
X509IssuerSerialType with the
specified node. |
protected |
X509IssuerSerialType(String issuerName,
BigInteger serialNumber)
Creates a new instance of this
X509IssuerSerialType with the
specified isser DN and serial number. |
| Modifier and Type | Method and Description |
|---|---|
String |
getIssuerName()
Returns the X.500 distinguished name of this
X509IssuerSerial
in RFC 2253 String
format. |
BigInteger |
getSerialNumber()
Returns the serial number of this
X509IssuerSerial. |
Node |
marshal(DOMCryptoContext context,
Node parent,
Node nextSibling)
Marshal the DOM node representation of this
DOMStructure and
all its child DOMStructures. |
protected void |
unmarshalStructures(NodeList nodes,
DOMCryptoContext context)
Unmarshals
DOMStructures from the given nodes. |
addBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getLocalName, getNamespace, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshalAttributes, marshalElement, marshalIDAttribute, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, toString, unmarshal, unmarshalAttributes, unmarshalElement, unmarshalIDAttribute, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFeatureSupportedprotected Name issuerName_
null)protected BigInteger serialNumber_
null)protected X509IssuerSerialType(Node node)
X509IssuerSerialType with the
specified node.node - the node to unmarshal fromprotected X509IssuerSerialType(String issuerName, BigInteger serialNumber)
X509IssuerSerialType with the
specified isser DN and serial number.issuerName - the issuer DNserialNumber - the serial numberNullPointerException - if issuerName or serialNumber is
nullIllegalArgumentException - if isserName is not RFC 2253 compliantpublic String getIssuerName()
javax.xml.crypto.dsig.keyinfo.X509IssuerSerialX509IssuerSerial
in RFC 2253 String
format.getIssuerName in interface X509IssuerSerialnull)X509IssuerSerial.getIssuerName()public BigInteger getSerialNumber()
javax.xml.crypto.dsig.keyinfo.X509IssuerSerialX509IssuerSerial.getSerialNumber in interface X509IssuerSerialnull)X509IssuerSerial.getSerialNumber()public Node marshal(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
DOMStructureDOMStructure and
all its child DOMStructures.
marshal in class DOMStructurecontext - the DOMMarshalContext holding context information about
the marshaling of this DOMStructureparent - where to place the marshalled nodenextSibling - before wich to place the marshalled nodeDOMStrucuture and
all its child DOMStructuruesMarshalException - if the marshaling fails for any reasonDOMStructure.marshal(DOMCryptoContext, Node, Node)protected void unmarshalStructures(NodeList nodes, DOMCryptoContext context) throws MarshalException
DOMStructureDOMStructures from the given nodes.
This method is called by DOMStructure.unmarshal(DOMCryptoContext).
This method calls DOMStructure.getInstance(Node, DOMCryptoContext) for every
Element in the list of nodes. If
DOMStructure.getInstance(Node, DOMCryptoContext) returns a
DOMStructure DOMStructure.putChildStructure(DOMStructure) is
called with the returned DOMStructure as parameter.
unmarshalStructures in class DOMStructurenodes - the nodes to unmarshal fromcontext - the marshal contextMarshalException - if an exception occurs during marshalingDOMStructure.unmarshalStructures(org.w3c.dom.NodeList,
DOMCryptoContext)© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC