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)
net9.0
namespace System.Security.Cryptography
{
public sealed class RSACng : RSA
{
public override void ImportPkcs8PrivateKey(ReadOnlySpan<byte> source, out int bytesRead);
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | System.Security.Cryptography , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API