Class BCXWingPrivateKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.xwing.BCXWingPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, XWingKey, XWingPrivateKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCXWingPrivateKey
-
BCXWingPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getPublicKey
Description copied from interface:XWingPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceXWingPrivateKey- Returns:
- the X-Wing encapsulation key.
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "X-WING".
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-