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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDOMX509IssuerSerial
(String issuerName, BigInteger serialNumber) Creates aDOMX509IssuerSerial
containing the specified issuer distinguished name/serial number pair.DOMX509IssuerSerial
(Element isElem) Creates aDOMX509IssuerSerial
from an element. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
marshal
(Node parent, String dsPrefix, DOMCryptoContext context) Methods inherited from class org.apache.jcp.xml.dsig.internal.dom.DOMStructure
isFeatureSupported
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.crypto.XMLStructure
isFeatureSupported
-
Field Details
-
issuerName
-
serialNumber
-
-
Constructor Details
-
DOMX509IssuerSerial
Creates aDOMX509IssuerSerial
containing 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 ofissuerName
is not RFC 2253 compliantNullPointerException
- ifissuerName
orserialNumber
isnull
-
DOMX509IssuerSerial
Creates aDOMX509IssuerSerial
from an element.- Parameters:
isElem
- an X509IssuerSerial element- Throws:
MarshalException
-
-
Method Details
-
getIssuerName
- Specified by:
getIssuerName
in interfaceX509IssuerSerial
-
getSerialNumber
- Specified by:
getSerialNumber
in interfaceX509IssuerSerial
-
marshal
- Specified by:
marshal
in classDOMStructure
- Throws:
MarshalException
-
equals
-
hashCode
public int hashCode()
-