public class BCHawkPublicKey extends java.lang.Object implements java.security.PublicKey, HawkKey
SubjectPublicKeyInfo via the lightweight PublicKeyFactory
(the BC provider's BCPQC key-info-converter chain reaches this class for
every Hawk OID).| Constructor and Description |
|---|
BCHawkPublicKey(HawkPublicKeyParameters params) |
BCHawkPublicKey(SubjectPublicKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
HawkParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
public BCHawkPublicKey(HawkPublicKeyParameters params)
public BCHawkPublicKey(SubjectPublicKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic HawkParameterSpec getParameterSpec()
HawkKeygetParameterSpec in interface HawkKey