|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.cert.Thumbprint
public class Thumbprint
An X509Certificate thumb print. Thumb print is essentially a SHA-1 digest of the certificates der encoding.
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
byte[] |
getDigest()
Gets the raw byte digest of the certificate's der encoding. |
java.lang.String |
toString()
|
static Thumbprint |
toThumbprint(java.security.cert.X509Certificate cert)
Creates a thumbprint of an X509Certificate. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Thumbprint toThumbprint(java.security.cert.X509Certificate cert)
cert - The certificate to convert.
public byte[] getDigest()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||