public class BCXWingPrivateKey extends java.lang.Object implements XWingPrivateKey
| Constructor and Description |
|---|
BCXWingPrivateKey(PrivateKeyInfo keyInfo) |
BCXWingPrivateKey(XWingPrivateKeyParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
XWingPublicKey |
getPublicKey()
Return the public key corresponding to this private key.
|
int |
hashCode() |
public BCXWingPrivateKey(XWingPrivateKeyParameters params)
public BCXWingPrivateKey(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 XWingPublicKey getPublicKey()
XWingPrivateKeygetPublicKey in interface XWingPrivateKeypublic 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.Key