jsdsi
Class PublicKeyHash
java.lang.Object
|
+--jsdsi.Obj
|
+--jsdsi.Principal
|
+--jsdsi.PublicKeyHash
- All Implemented Interfaces:
- java.security.Principal, Subject
- public class PublicKeyHash
- extends Principal
The cryptographic hash of a public key.
- Author:
- Sameer Ajmani
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
toString |
PublicKeyHash
public PublicKeyHash(Hash h)
getHash
public Hash getHash()
samePrincipalAs
public boolean samePrincipalAs(Principal p)
- Specified by:
samePrincipalAs
in class Principal
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.security.Principal
- Specified by:
equals
in class Obj
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.security.Principal
- Specified by:
hashCode
in class Obj
toSexp
public SexpList toSexp()
- Specified by:
toSexp
in interface Subject
- Specified by:
toSexp
in class Obj
parsePublicKeyHash
public static PublicKeyHash parsePublicKeyHash(SexpList l)
throws SexpParseException
SexpParseException