RSACng
RSACng()
RSACng(CngKey)
RSACng(Int32)
Key
KeyExchangeAlgorithm
LegalKeySizes
SignatureAlgorithm
Decrypt(Byte[], RSAEncryptionPadding)
DecryptValue(Byte[])
Dispose(Boolean)
Encrypt(Byte[], RSAEncryptionPadding)
EncryptValue(Byte[])
ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters)
ExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters)
ExportParameters(Boolean)
HashData(Stream, HashAlgorithmName)
HashData(Byte[], Int32, Int32, HashAlgorithmName)
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32)
ImportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, ReadOnlySpan<Byte>, Int32)
ImportParameters(RSAParameters)
ImportPkcs8PrivateKey(ReadOnlySpan<Byte>, Int32)
SignHash(Byte[], HashAlgorithmName, RSASignaturePadding)
TryDecrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32)
TryEncrypt(ReadOnlySpan<Byte>, Span<Byte>, RSAEncryptionPadding, Int32)
TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Byte>, PbeParameters, Span<Byte>, Int32)
TryExportEncryptedPkcs8PrivateKey(ReadOnlySpan<Char>, PbeParameters, Span<Byte>, Int32)
TryExportPkcs8PrivateKey(Span<Byte>, Int32)
TrySignHash(ReadOnlySpan<Byte>, Span<Byte>, HashAlgorithmName, RSASignaturePadding, Int32)
VerifyHash(Byte[], Byte[], HashAlgorithmName, RSASignaturePadding)
VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, RSASignaturePadding)
net6.0-windows
namespace System.Security.Cryptography
{
public sealed class RSACng : RSA
{
protected override byte[]! HashData(byte[]! data, int offset, int count, HashAlgorithmName hashAlgorithm);
}
}
.NET | 5.06.07.08.09.010.0 |
---|---|
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Framework | 4.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 1.31.41.51.62.02.1 |
Information specific to net6.0 | |
Assembly | System.Security.Cryptography.Cng , Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Security.Cryptography.Cng (5.0.0) netcoreapp3.0 |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API