Class OpenSslMlKemPrivateKey
java.lang.Object
org.conscrypt.OpenSslMlKemPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable
An ML-KEM private key.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MlKemAlgorithm(package private) static final intprivate byte[]private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()booleanbyte[](package private) MlKemAlgorithmprivate static byte[]getPkcs8Preamble(MlKemAlgorithm algorithm) (package private) byte[]getSeed()inthashCode()booleanprivate voidprivate voidMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParams
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
PRIVATE_KEY_SIZE_BYTES
static final int PRIVATE_KEY_SIZE_BYTES- See Also:
-
seed
private byte[] seed -
algorithm
-
-
Constructor Details
-
OpenSslMlKemPrivateKey
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getMlKemAlgorithm
MlKemAlgorithm getMlKemAlgorithm() -
getFormat
-
getPkcs8Preamble
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getSeed
byte[] getSeed() -
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-
equals
-
hashCode
-
readObject
-
writeObject
-