MLKemAlgorithm Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a specific algorithm within the ML-KEM family.
public ref class MLKemAlgorithm sealed : IEquatable<System::Security::Cryptography::MLKemAlgorithm ^>
public sealed class MLKemAlgorithm : IEquatable<System.Security.Cryptography.MLKemAlgorithm>
type MLKemAlgorithm = class
interface IEquatable<MLKemAlgorithm>
Public NotInheritable Class MLKemAlgorithm
Implements IEquatable(Of MLKemAlgorithm)
- Inheritance
-
MLKemAlgorithm
- Implements
Properties
CiphertextSizeInBytes |
Gets the size of the ciphertext for the algorithm, in bytes. |
DecapsulationKeySizeInBytes |
Gets the size of the decapsulation key for the algorithm, in bytes. |
EncapsulationKeySizeInBytes |
Gets the size of the encapsulation key for the algorithm, in bytes. |
MLKem1024 |
Gets an ML-KEM algorithm identifier for the ML-KEM-1024 algorithm. |
MLKem512 |
Gets an ML-KEM algorithm identifier for the ML-KEM-512 algorithm. |
MLKem768 |
Gets an ML-KEM algorithm identifier for the ML-KEM-768 algorithm. |
Name |
Gets the name of the algorithm. |
PrivateSeedSizeInBytes |
Gets the size of the private seed for the algorithm, in bytes. |
SharedSecretSizeInBytes |
Gets the size of the shared secret for the algorithm, in bytes. |
Methods
Equals(MLKemAlgorithm) |
Compares two MLKemAlgorithm objects. |
Equals(Object) |
Determines whether the specified object is equal to the current object. |
GetHashCode() |
Serves as the default hash function. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. |
Operators
Equality(MLKemAlgorithm, MLKemAlgorithm) |
Determines whether two MLKemAlgorithm objects specify the same algorithm name. |
Inequality(MLKemAlgorithm, MLKemAlgorithm) |
Determines whether two MLKemAlgorithm objects do not specify the same algorithm name. |