public class BCFrodoKEMPrivateKey extends java.lang.Object implements FrodoKEMPrivateKey
| Constructor and Description |
|---|
BCFrodoKEMPrivateKey(FrodoKEMPrivateKeyParameters params) |
BCFrodoKEMPrivateKey(PrivateKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this key, zeroizing the secret key material it holds.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
FrodoKEMParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
int |
hashCode() |
boolean |
isDestroyed() |
public BCFrodoKEMPrivateKey(FrodoKEMPrivateKeyParameters params)
public BCFrodoKEMPrivateKey(PrivateKeyInfo 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 FrodoKEMParameterSpec getParameterSpec()
FrodoKEMKeygetParameterSpec in interface FrodoKEMKeypublic void destroy()
After destruction isDestroyed() returns true and getEncoded() throws
IllegalStateException.
destroy in interface javax.security.auth.Destroyablepublic boolean isDestroyed()
isDestroyed in interface javax.security.auth.Destroyable