<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-rc.1.26425.128" />

System.Security.Cryptography.SlhDsa

public abstract class SlhDsa : IDisposable
public static bool IsSupported { get; }

public SlhDsaAlgorithm Algorithm { get; }

protected SlhDsa(SlhDsaAlgorithm algorithm)

public static SlhDsa GenerateKey(SlhDsaAlgorithm algorithm)

public static SlhDsa ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, ReadOnlySpan<byte> source)

public static SlhDsa ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, ReadOnlySpan<byte> source)

public static SlhDsa ImportEncryptedPkcs8PrivateKey(string password, byte[] source)

public static SlhDsa ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<char> password)

public static SlhDsa ImportFromEncryptedPem(ReadOnlySpan<char> source, ReadOnlySpan<byte> passwordBytes)

public static SlhDsa ImportFromEncryptedPem(string source, string password)

public static SlhDsa ImportFromEncryptedPem(string source, byte[] passwordBytes)

public static SlhDsa ImportFromPem(ReadOnlySpan<char> source)

public static SlhDsa ImportFromPem(string source)

public static SlhDsa ImportPkcs8PrivateKey(ReadOnlySpan<byte> source)

public static SlhDsa ImportPkcs8PrivateKey(byte[] source)

public static SlhDsa ImportSlhDsaPrivateKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source)

public static SlhDsa ImportSlhDsaPrivateKey(SlhDsaAlgorithm algorithm, byte[] source)

public static SlhDsa ImportSlhDsaPublicKey(SlhDsaAlgorithm algorithm, ReadOnlySpan<byte> source)

public static SlhDsa ImportSlhDsaPublicKey(SlhDsaAlgorithm algorithm, byte[] source)

public static SlhDsa ImportSubjectPublicKeyInfo(ReadOnlySpan<byte> source)

public static SlhDsa ImportSubjectPublicKeyInfo(byte[] source)

public void Dispose()

protected virtual void Dispose(bool disposing)

public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters)

public byte[] ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)

public byte[] ExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters)

public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<char> password, PbeParameters pbeParameters)

public string ExportEncryptedPkcs8PrivateKeyPem(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters)

public string ExportEncryptedPkcs8PrivateKeyPem(string password, PbeParameters pbeParameters)

public byte[] ExportPkcs8PrivateKey()

public string ExportPkcs8PrivateKeyPem()

public void ExportSlhDsaPrivateKey(Span<byte> destination)

public byte[] ExportSlhDsaPrivateKey()

protected abstract void ExportSlhDsaPrivateKeyCore(Span<byte> destination)

public void ExportSlhDsaPublicKey(Span<byte> destination)

public byte[] ExportSlhDsaPublicKey()

protected abstract void ExportSlhDsaPublicKeyCore(Span<byte> destination)

public void SignData(ReadOnlySpan<byte> data, Span<byte> destination, ReadOnlySpan<byte> context = default)

public byte[] SignData(byte[] data, byte[] context = null)

protected abstract void SignDataCore(ReadOnlySpan<byte> data, ReadOnlySpan<byte> context, Span<byte> destination)

public void SignPreHash(ReadOnlySpan<byte> hash, Span<byte> destination, string hashAlgorithmOid, ReadOnlySpan<byte> context = default)

public byte[] SignPreHash(byte[] hash, string hashAlgorithmOid, byte[] context = null)

protected abstract void SignPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, Span<byte> destination)

public bool TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<char> password, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)

public bool TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<byte> passwordBytes, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)

public bool TryExportEncryptedPkcs8PrivateKey(string password, PbeParameters pbeParameters, Span<byte> destination, out int bytesWritten)

public bool TryExportPkcs8PrivateKey(Span<byte> destination, out int bytesWritten)

protected virtual bool TryExportPkcs8PrivateKeyCore(Span<byte> destination, out int bytesWritten)

public bool TryExportSubjectPublicKeyInfo(Span<byte> destination, out int bytesWritten)

public bool VerifyData(ReadOnlySpan<byte> data, ReadOnlySpan<byte> signature, ReadOnlySpan<byte> context = default)

public bool VerifyData(byte[] data, byte[] signature, byte[] context = null)

protected abstract bool VerifyDataCore(ReadOnlySpan<byte> data, ReadOnlySpan<byte> context, ReadOnlySpan<byte> signature)

public bool VerifyPreHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature, string hashAlgorithmOid, ReadOnlySpan<byte> context = default)

public bool VerifyPreHash(byte[] hash, byte[] signature, string hashAlgorithmOid, byte[] context = null)

protected abstract bool VerifyPreHashCore(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> context, string hashAlgorithmOid, ReadOnlySpan<byte> signature)