public class BCRainbowPrivateKey extends java.lang.Object implements RainbowPrivateKey
| Constructor and Description |
|---|
BCRainbowPrivateKey(PrivateKeyInfo keyInfo) |
BCRainbowPrivateKey(RainbowPrivateKeyParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this Rainbow private key with another object.
|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
RainbowParameterSpec |
getParameterSpec()
Return the parameters for this key.
|
RainbowPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
public BCRainbowPrivateKey(RainbowPrivateKeyParameters params)
public BCRainbowPrivateKey(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 RainbowParameterSpec getParameterSpec()
RainbowKeygetParameterSpec in interface RainbowKeypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic RainbowPublicKey getPublicKey()
RainbowPrivateKeygetPublicKey in interface RainbowPrivateKey