3 instantiations of SlhDsaImplementation
System.Security.Cryptography (3)
System\Security\Cryptography\SlhDsaImplementation.OpenSsl.cs (3)
59return new SlhDsaImplementation(algorithm, key); 78return new SlhDsaImplementation(algorithm, key); 88return new SlhDsaImplementation(algorithm, key);
19 references to SlhDsaImplementation
System.Security.Cryptography (19)
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (4)
72public static bool IsSupported { get; } = SlhDsaImplementation.SupportsAny(); 960return SlhDsaImplementation.GenerateKeyCore(algorithm); 1471return SlhDsaImplementation.ImportPublicKey(algorithm, source); 1521return SlhDsaImplementation.ImportSecretKey(algorithm, source);
src\libraries\Common\src\System\Security\Cryptography\SlhDsaImplementation.cs (6)
14internal static partial SlhDsaImplementation GenerateKeyCore(SlhDsaAlgorithm algorithm); 15internal static partial SlhDsaImplementation ImportPublicKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 16internal static partial SlhDsaImplementation ImportPkcs8PrivateKeyValue(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 17internal static partial SlhDsaImplementation ImportSecretKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source); 23internal static SlhDsaImplementation DuplicatePrivateKey(SlhDsa key) 25Debug.Assert(key is not SlhDsaImplementation);
System\Security\Cryptography\SlhDsaImplementation.OpenSsl.cs (4)
56internal static partial SlhDsaImplementation GenerateKeyCore(SlhDsaAlgorithm algorithm) 74internal static partial SlhDsaImplementation ImportPublicKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source) 81internal static partial SlhDsaImplementation ImportPkcs8PrivateKeyValue(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source) => 84internal static partial SlhDsaImplementation ImportSecretKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (3)
746if (privateKey is SlhDsaImplementation impl) 756using (SlhDsaImplementation clone = SlhDsaImplementation.DuplicatePrivateKey(privateKey))
System\Security\Cryptography\X509Certificates\X509CertificateLoader.OpenSsl.cs (2)
104SlhDsaImplementation? impl = slhDsa as SlhDsaImplementation;