Package org.conscrypt
Class OpenSslMlKemPublicKey
java.lang.Object
org.conscrypt.OpenSslMlKemPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey
An ML-KEM public key.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MlKemAlgorithmprivate final byte[]private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[](package private) MlKemAlgorithm(package private) byte[]getRaw()private static byte[]getX509Preamble(MlKemAlgorithm algorithm) inthashCode()private voidprivate void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
raw
private final byte[] raw -
algorithm
-
-
Constructor Details
-
OpenSslMlKemPublicKey
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getMlKemAlgorithm
MlKemAlgorithm getMlKemAlgorithm() -
getFormat
-
getX509Preamble
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getRaw
byte[] getRaw() -
equals
-
hashCode
public int hashCode() -
readObject
-
writeObject
-