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