public class BCFalconPrivateKey extends java.lang.Object implements FalconPrivateKey
| Constructor and Description |
|---|
BCFalconPrivateKey(FalconPrivateKeyParameters params) |
BCFalconPrivateKey(PrivateKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this Falcon private key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
FalconParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
FalconPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
public BCFalconPrivateKey(FalconPrivateKeyParameters params)
public BCFalconPrivateKey(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 FalconParameterSpec getParameterSpec()
FalconKeygetParameterSpec in interface FalconKeypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic FalconPublicKey getPublicKey()
FalconPrivateKeygetPublicKey in interface FalconPrivateKey