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)
78
public static bool IsSupported { get; } =
SlhDsaImplementation
.SupportsAny();
1187
return
SlhDsaImplementation
.GenerateKeyCore(algorithm);
1238
slhDsa =
SlhDsaImplementation
.ImportPublicKey(algorithm, key.Span);
1692
return
SlhDsaImplementation
.ImportPublicKey(algorithm, source);
1742
return
SlhDsaImplementation
.ImportPrivateKey(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
ImportPrivateKey(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
ImportPrivateKey(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
;