public class IssuerAndSerial extends Object
| Constructor and Description |
|---|
IssuerAndSerial(Principal issuer,
BigInteger serial)
Create an
IssuerAndSerial object. |
IssuerAndSerial(String issuerDN,
BigInteger serial)
Create an
IssuerAndSerial object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Compare this
IssuerAndSerial to another object. |
String |
getIssuerDN()
Return the issuer DN in RFC2253 format.
|
BigInteger |
getSerial()
Return the serial number.
|
int |
hashCode()
Return the hash code of this
IssuerAndSerial. |
String |
toString()
Return a
String representation of this
IssuerAndSerial object. |
public IssuerAndSerial(Principal issuer, BigInteger serial)
IssuerAndSerial object.
The name of the issuer is converted to RFC2253. If it cannot be parsed, the
DN contained in the issuer is set.issuer - The isser of a certificate.serial - The serial number of the certificate.public IssuerAndSerial(String issuerDN, BigInteger serial)
IssuerAndSerial object.issuerDN - The issuer distinguished name. Should be an RFC2253 name.serial - The serial number of the certificate.public String getIssuerDN()
public BigInteger getSerial()
public boolean equals(Object other)
IssuerAndSerial to another object.equals in class Objecttrue, if other is an
IssuerAndSerial object and the issuer and
serial fields are both equal. false otherwise.Object.equals(java.lang.Object)public int hashCode()
IssuerAndSerial.hashCode in class ObjectIssuerAndSerial.Object.hashCode()public String toString()
String representation of this
IssuerAndSerial object.toString in class ObjectString representation.Object.toString()Copyright © 2017. All rights reserved.