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() |
BigInteger |
getSerialNumber() |
int |
hashCode() |
void |
marshal(Node parent,
String dsPrefix,
DOMCryptoContext context) |
equalsContent, 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()
getIssuerName
in interface X509IssuerSerial
public BigInteger getSerialNumber()
getSerialNumber
in interface X509IssuerSerial
public void marshal(Node parent, String dsPrefix, DOMCryptoContext context) throws MarshalException
marshal
in class DOMStructure
MarshalException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.