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