Class BCXWingPublicKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.xwing.BCXWingPublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, XWingKey, XWingPublicKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface AsymmetricKey
getParams
-
Constructor Details
-
BCXWingPublicKey
-
BCXWingPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "X-WING".
-
getPublicData
public byte[] getPublicData()Description copied from interface:XWingPublicKeyReturn the raw encoded data representing the public key (ML-KEM-768 encapsulation key || X25519 public key).- Specified by:
getPublicDatain interfaceXWingPublicKey- Returns:
- the raw 1216 byte public key data.
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
toString
-