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.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other objectpublic int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public FalconParameterSpec getParameterSpec()
FalconKey
getParameterSpec
in interface FalconKey
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public FalconPublicKey getPublicKey()
FalconPrivateKey
getPublicKey
in interface FalconPrivateKey