| Modifier and Type | Field and Description |
|---|---|
| private transient String | |
| private transient ASN1Set | |
| private transient MLKEMPrivateKeyParameters | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: the result of the comparisonthe other object o)Overrides java. Compare this ML-KEM private key with another object. |
| public final String | Returns: name of the algorithm - "ML-KEM"Implements java. Returns the standard algorithm name for this key. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| pack-priv MLKEMPrivateKeyParameters | |
| public MLKEMParameterSpec | getParameterSpec()
Implements org. Return the parameters for this key. |
| public byte[] | getPrivateData()
Implements org. Return the long form private data for the ML-KEM private key. |
| public MLKEMPublicKey | getPublicKey()
Implements org. Return the public key corresponding to this private key. |
| public byte[] | getSeed()
Implements org. Return the seed the private key was generated from (if available). |
| public int | |
| private void | |
| private void | |
| public String | |
| private void |
| algorithm | back to summary |
|---|---|
| private transient String algorithm | |
| attributes | back to summary |
|---|---|
| private transient ASN1Set attributes | |
| params | back to summary |
|---|---|
| private transient MLKEMPrivateKeyParameters params | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| BCMLKEMPrivateKey | back to summary |
|---|---|
| public BCMLKEMPrivateKey(MLKEMPrivateKeyParameters params) | |
| BCMLKEMPrivateKey | back to summary |
|---|---|
| public BCMLKEMPrivateKey(PrivateKeyInfo keyInfo) throws IOException | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Compare this ML-KEM private key with another object.
| |
| getAlgorithm | back to summary |
|---|---|
| public final String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getKeyParams | back to summary |
|---|---|
| pack-priv MLKEMPrivateKeyParameters getKeyParams() | |
| getParameterSpec | back to summary |
|---|---|
| public MLKEMParameterSpec getParameterSpec() Implements org. Doc from org. Return the parameters for this key.
| |
| getPrivateData | back to summary |
|---|---|
| public byte[] getPrivateData() Implements org. Doc from org. Return the long form private data for the ML-KEM private key.
| |
| getPublicKey | back to summary |
|---|---|
| public MLKEMPublicKey getPublicKey() Implements org. Doc from org. Return the public key corresponding to this private key.
| |
| getSeed | back to summary |
|---|---|
| public byte[] getSeed() Implements org. Doc from org. Return the seed the private key was generated from (if available).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private void init(PrivateKeyInfo keyInfo) throws IOException | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |