4 instantiations of MLDsaImplementation
System.Security.Cryptography (4)
System\Security\Cryptography\MLDsaImplementation.OpenSsl.cs (4)
62return new MLDsaImplementation(algorithm, key); 69return new MLDsaImplementation(algorithm, key); 79return new MLDsaImplementation(algorithm, key); 86return new MLDsaImplementation(algorithm, key);
22 references to MLDsaImplementation
System.Security.Cryptography (22)
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (7)
71public static bool IsSupported { get; } = MLDsaImplementation.SupportsAny(); 712return MLDsaImplementation.GenerateKeyImpl(algorithm); 764return MLDsaImplementation.ImportPublicKey(algorithm, spki.SubjectPublicKey.Span); 819return MLDsaImplementation.ImportPkcs8PrivateKeyValue(algorithm, pki.PrivateKey.Span); 1037return MLDsaImplementation.ImportPublicKey(algorithm, source); 1075return MLDsaImplementation.ImportSecretKey(algorithm, source); 1113return MLDsaImplementation.ImportSeed(algorithm, source);
src\libraries\Common\src\System\Security\Cryptography\MLDsaImplementation.cs (7)
20internal static partial MLDsaImplementation GenerateKeyImpl(MLDsaAlgorithm algorithm); 21internal static partial MLDsaImplementation ImportPublicKey(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 22internal static partial MLDsaImplementation ImportPkcs8PrivateKeyValue(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 23internal static partial MLDsaImplementation ImportSecretKey(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 24internal static partial MLDsaImplementation ImportSeed(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 30internal static MLDsaImplementation DuplicatePrivateKey(MLDsa key) 35Debug.Assert(key is not MLDsaImplementation);
System\Security\Cryptography\MLDsaImplementation.OpenSsl.cs (5)
59internal static partial MLDsaImplementation GenerateKeyImpl(MLDsaAlgorithm algorithm) 65internal static partial MLDsaImplementation ImportPublicKey(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source) 72internal static partial MLDsaImplementation ImportPkcs8PrivateKeyValue(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source) => 75internal static partial MLDsaImplementation ImportSecretKey(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source) 82internal static partial MLDsaImplementation ImportSeed(MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (3)
702if (privateKey is MLDsaImplementation impl) 712using (MLDsaImplementation clone = MLDsaImplementation.DuplicatePrivateKey(privateKey))