|
Bouncy Castle Cryptography Library 1.85.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.jcajce.provider.asymmetric.slhdsa.BCSLHDSAPrivateKey
| Constructor Summary | |
BCSLHDSAPrivateKey(PrivateKeyInfo keyInfo)
|
|
BCSLHDSAPrivateKey(SLHDSAPrivateKeyParameters params)
|
|
| Method Summary | |
void |
destroy()
Destroy this key, zeroizing the secret key material it holds. |
boolean |
equals(java.lang.Object o)
Compare this SPHINCS-256 private key with another object. |
java.lang.String |
getAlgorithm()
|
byte[] |
getEncoded()
|
java.lang.String |
getFormat()
|
SLHDSAParameterSpec |
getParameterSpec()
Return the parameters for this key. |
SLHDSAPublicKey |
getPublicKey()
Return the public key corresponding to this private key. |
int |
hashCode()
|
boolean |
isDestroyed()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BCSLHDSAPrivateKey(SLHDSAPrivateKeyParameters params)
public BCSLHDSAPrivateKey(PrivateKeyInfo keyInfo)
throws java.io.IOException
| Method Detail |
public boolean equals(java.lang.Object o)
o - the other object
public int hashCode()
public final java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic SLHDSAPublicKey getPublicKey()
SLHDSAPrivateKey
getPublicKey in interface SLHDSAPrivateKeypublic SLHDSAParameterSpec getParameterSpec()
SLHDSAKey
getParameterSpec in interface SLHDSAKeypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic java.lang.String toString()
public void destroy()
After destruction isDestroyed() returns true and getEncoded() throws
IllegalStateException.
public boolean isDestroyed()
|
Bouncy Castle Cryptography Library 1.85.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||