|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.gv.egovernment.moa.spss.server.config.IssuerAndSerial
A class containing the issuer and serial number of a certificate, which can
be used to uniquely identify the certificate.
The issuer is contained as an RFC2253 encoded String
.
Constructor Summary | |
IssuerAndSerial(Principal issuer,
BigInteger serial)
Create an IssuerAndSerial object.
|
|
IssuerAndSerial(String issuerDN,
BigInteger serial)
Create an IssuerAndSerial object. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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.Method Detail |
public String getIssuerDN()
public BigInteger getSerial()
public boolean equals(Object other)
IssuerAndSerial
to another object.equals
in class Object
other
- The object to compare this IssuerAndSerial
to.true
, 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 Object
IssuerAndSerial
.Object.hashCode()
public String toString()
String
representation of this
IssuerAndSerial
object.toString
in class Object
String
representation.Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |