public class BCSDitHPublicKey extends java.lang.Object implements java.security.PublicKey, SDitHKey
| Constructor and Description |
|---|
BCSDitHPublicKey(SDitHPublicKeyParameters params) |
BCSDitHPublicKey(SubjectPublicKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
SDitHParameterSpec |
getParameterSpec()
Return the parameter spec associated with this SDitH key.
|
java.security.spec.AlgorithmParameterSpec |
getParams()
Return the parameter set of this key as a java.security.spec.NamedParameterSpec, the form the
JDK's own keys report through java.security.AsymmetricKey.getParams() from Java 22.
|
int |
hashCode() |
public BCSDitHPublicKey(SDitHPublicKeyParameters params)
public BCSDitHPublicKey(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 java.security.spec.AlgorithmParameterSpec getParams()
public SDitHParameterSpec getParameterSpec()
SDitHKeygetParameterSpec in interface SDitHKey