3 instantiations of SlhDsaImplementation
System.Security.Cryptography (3)
System\Security\Cryptography\SlhDsaImplementation.OpenSsl.cs (3)
60
return new
SlhDsaImplementation
(algorithm, key);
101
return new
SlhDsaImplementation
(algorithm, key);
111
return new
SlhDsaImplementation
(algorithm, key);
20 references to SlhDsaImplementation
System.Security.Cryptography (20)
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (5)
76
public static bool IsSupported { get; } =
SlhDsaImplementation
.SupportsAny();
1185
return
SlhDsaImplementation
.GenerateKeyCore(algorithm);
1236
slhDsa =
SlhDsaImplementation
.ImportPublicKey(algorithm, key.Span);
1690
return
SlhDsaImplementation
.ImportPublicKey(algorithm, source);
1740
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)
57
internal static partial
SlhDsaImplementation
GenerateKeyCore(SlhDsaAlgorithm algorithm)
97
internal static partial
SlhDsaImplementation
ImportPublicKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source)
104
internal static partial
SlhDsaImplementation
ImportPkcs8PrivateKeyValue(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source) =>
107
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)
113
SlhDsaImplementation
? impl = slhDsa as
SlhDsaImplementation
;