public class BCSnovaPrivateKey extends java.lang.Object implements java.security.PrivateKey, SnovaKey
| Constructor and Description |
|---|
BCSnovaPrivateKey(PrivateKeyInfo keyInfo) |
BCSnovaPrivateKey(SnovaPrivateKeyParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this private key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
SnovaParameterSpec |
getParameterSpec()
Return the parameters for this 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 BCSnovaPrivateKey(SnovaPrivateKeyParameters params)
public BCSnovaPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
java.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the other 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.security.spec.AlgorithmParameterSpec getParams()
public SnovaParameterSpec getParameterSpec()
SnovaKeygetParameterSpec in interface SnovaKeypublic java.lang.String getFormat()
getFormat in interface java.security.Key