public final class DOMX509IssuerSerial extends DOMStructure implements X509IssuerSerial
Constructor and Description |
---|
DOMX509IssuerSerial(Element isElem)
Creates a
DOMX509IssuerSerial from an element. |
DOMX509IssuerSerial(String issuerName,
BigInteger serialNumber)
Creates a
DOMX509IssuerSerial containing the specified
issuer distinguished name/serial number pair. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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 . |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
isFeatureSupported
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isFeatureSupported
public DOMX509IssuerSerial(String issuerName, BigInteger serialNumber)
DOMX509IssuerSerial
containing the specified
issuer distinguished name/serial number pair.issuerName
- the X.509 issuer distinguished name in RFC 2253
String formatserialNumber
- the serial numberIllegalArgumentException
- if the format of issuerName
is not RFC 2253 compliantNullPointerException
- if issuerName
or
serialNumber
is null
public DOMX509IssuerSerial(Element isElem) throws MarshalException
DOMX509IssuerSerial
from an element.isElem
- an X509IssuerSerial elementMarshalException
public String getIssuerName()
X509IssuerSerial
X509IssuerSerial
in
RFC 2253 String format.getIssuerName
in interface X509IssuerSerial
null
)public BigInteger getSerialNumber()
X509IssuerSerial
X509IssuerSerial
.getSerialNumber
in interface X509IssuerSerial
null
)public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2017 The Apache Software Foundation. All rights reserved.