public class CRLIdentifierImpl extends XadesDOMStructure implements CRLIdentifier, DOMURIReference
CRLIdentifier element that supports the
DOM XML processing and representation mechanism.| Constructor and Description |
|---|
CRLIdentifierImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
CRLIdentifierImpl with the
given context and node. |
CRLIdentifierImpl(Principal issuer,
Date issuerTime,
BigInteger number,
String uri)
Creates a new instance of this
CRLIdentifierImpl with the
given issuer DN, issuer time, number and URI reference. |
CRLIdentifierImpl(String issuer,
Date issuerTime,
BigInteger number,
String uri)
Creates a new instance of this
CRLIdentifierImpl with the
given issuer DN, issuer time, number and URI reference. |
| Modifier and Type | Method and Description |
|---|---|
Node |
getHere() |
String |
getIssuer()
Returns the issuer distinguished name.
|
Date |
getIssuerTime()
Returns the issuer time.
|
String |
getLocalName() |
BigInteger |
getNumber()
Returns the CRL number.
|
String |
getType() |
String |
getURI()
Returns the URI where a copy of the CRL may be obtained.
|
Node |
marshal(DOMCryptoContext context,
Node parent,
Node nextSibling) |
protected void |
marshalAttributes(DOMCryptoContext context,
Element parent) |
String |
toString() |
protected void |
unmarshalAttributes(NamedNodeMap attributes,
DOMCryptoContext context) |
protected void |
unmarshalStructures(NodeList nodes,
DOMCryptoContext context) |
getInstance, getNamespace, getParentQualifyingPropertiesOf, getParentSignatureOfaddBytesToElement, addBytesToElement, clearMarshalling, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshalElement, marshalIDAttribute, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, unmarshal, unmarshalElement, unmarshalIDAttribute, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFeatureSupportedpublic CRLIdentifierImpl(DOMCryptoContext context, Node node) throws MarshalException
CRLIdentifierImpl with the
given context and node.context - the contextnode - the node to unmarshal fromMarshalException - if an exception occurs during unmarshalingpublic CRLIdentifierImpl(String issuer, Date issuerTime, BigInteger number, String uri)
CRLIdentifierImpl with the
given issuer DN, issuer time, number and URI reference.issuer - the issuer DN (must be RFC 2253 complaint string)issuerTime - the issuer timenumber - the CRL number (may be null)uri - the URI reference (may be null)NullPointerException - if config, issuer or
issuerTime is nullpublic CRLIdentifierImpl(Principal issuer, Date issuerTime, BigInteger number, String uri)
CRLIdentifierImpl with the
given issuer DN, issuer time, number and URI reference.issuer - the issuer DNissuerTime - the issuer timenumber - the CRL number (may be null)uri - the URI reference (may be null)NullPointerException - if config, issuer or
issuerTime is nullpublic String getIssuer()
CRLIdentifiergetIssuer in interface CRLIdentifierCRLIdentifier.getIssuer()public Date getIssuerTime()
CRLIdentifiergetIssuerTime in interface CRLIdentifierCRLIdentifier.getIssuerTime()public BigInteger getNumber()
CRLIdentifiergetNumber in interface CRLIdentifierCRLIdentifier.getNumber()public String getURI()
CRLIdentifiergetURI in interface CRLIdentifiergetURI in interface URIReferenceURI-attribute valueURIReference.getURI()public Node getHere()
getHere in interface DOMURIReferencegetHere in class iaik.xml.crypto.dom.DOMStructure{@inheritDoc}public String getType()
getType in interface URIReferenceURIReference.getType()public String getLocalName()
getLocalName in class iaik.xml.crypto.dom.DOMStructureDOMStructure.getLocalName()protected void marshalAttributes(DOMCryptoContext context, Element parent) throws MarshalException
marshalAttributes in class iaik.xml.crypto.dom.DOMStructureMarshalExceptionDOMStructure.marshalAttributes(DOMCryptoContext,
Element)public Node marshal(DOMCryptoContext context, Node parent, Node nextSibling) throws MarshalException
marshal in class iaik.xml.crypto.dom.DOMStructureMarshalExceptionDOMStructure.marshal(DOMCryptoContext, Node, Node)protected void unmarshalAttributes(NamedNodeMap attributes, DOMCryptoContext context) throws MarshalException
unmarshalAttributes in class iaik.xml.crypto.dom.DOMStructureMarshalExceptionDOMStructure.unmarshalAttributes(org.w3c.dom.NamedNodeMap,
DOMCryptoContext)protected void unmarshalStructures(NodeList nodes, DOMCryptoContext context) throws MarshalException
unmarshalStructures in class iaik.xml.crypto.dom.DOMStructureMarshalExceptionDOMStructure.unmarshalStructures(org.w3c.dom.NodeList,
DOMCryptoContext)public String toString()
toString in class iaik.xml.crypto.dom.DOMStructureObject.toString()© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC