Class DOMX509IssuerSerial
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.DOMStructure
org.apache.jcp.xml.dsig.internal.dom.DOMX509IssuerSerial
- All Implemented Interfaces:
X509IssuerSerial,XMLStructure
DOM-based implementation of X509IssuerSerial.
-
Constructor Summary
ConstructorsConstructorDescriptionDOMX509IssuerSerial(String issuerName, BigInteger serialNumber) Creates aDOMX509IssuerSerialcontaining the specified issuer distinguished name/serial number pair.DOMX509IssuerSerial(Element isElem) Creates aDOMX509IssuerSerialfrom an element. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidmarshal(Node parent, String dsPrefix, DOMCryptoContext context) Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupportedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Constructor Details
-
DOMX509IssuerSerial
Creates aDOMX509IssuerSerialcontaining the specified issuer distinguished name/serial number pair.- Parameters:
issuerName- the X.509 issuer distinguished name in RFC 2253 String formatserialNumber- the serial number- Throws:
IllegalArgumentException- if the format ofissuerNameis not RFC 2253 compliantNullPointerException- ifissuerNameorserialNumberisnull
-
DOMX509IssuerSerial
Creates aDOMX509IssuerSerialfrom an element.- Parameters:
isElem- an X509IssuerSerial element- Throws:
MarshalException
-
-
Method Details
-
getIssuerName
- Specified by:
getIssuerNamein interfaceX509IssuerSerial
-
getSerialNumber
- Specified by:
getSerialNumberin interfaceX509IssuerSerial
-
marshal
- Specified by:
marshalin classDOMStructure- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-