1 write to _impl
System.Security.Cryptography (1)
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (1)
27_impl = RSA.Create(dwKeySize);
28 references to _impl
System.Security.Cryptography (28)
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (28)
50return _impl.Decrypt(rgb, fOAEP ? RSAEncryptionPadding.OaepSHA1 : RSAEncryptionPadding.Pkcs1); 73return _impl.TryDecrypt(data, destination, padding, out bytesWritten); 80_impl.Dispose(); 89return _impl.Encrypt(rgb, fOAEP ? RSAEncryptionPadding.OaepSHA1 : RSAEncryptionPadding.Pkcs1); 110return _impl.TryEncrypt(data, destination, padding, out bytesWritten); 120_impl.ExportParameters(includePrivateParameters); 122public override void FromXmlString(string xmlString) => _impl.FromXmlString(xmlString); 136_impl.ImportParameters(parameters); 147_impl.ImportEncryptedPkcs8PrivateKey(passwordBytes, source, out bytesRead); 155_impl.ImportEncryptedPkcs8PrivateKey(password, source, out bytesRead); 158public override string? KeyExchangeAlgorithm => _impl.KeyExchangeAlgorithm; 162get { return _impl.KeySize; } 163set { _impl.KeySize = value; } 168public override KeySizes[] LegalKeySizes => _impl.LegalKeySizes; 188return _impl.SignData(data, hashAlgorithm, padding); 202return _impl.SignData(data, offset, count, hashAlgorithm, padding); 216return _impl.TrySignData(data, destination, hashAlgorithm, padding, out bytesWritten); 220_impl.SignData(buffer, offset, count, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1); 223_impl.SignData(buffer, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1); 226_impl.SignData(inputStream, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1); 239return _impl.SignHash(hash, hashAlgorithm, padding); 253return _impl.TrySignHash(hash, destination, hashAlgorithm, padding, out bytesWritten); 264return _impl.SignHash(rgbHash, algName, RSASignaturePadding.Pkcs1); 267public override string ToXmlString(bool includePrivateParameters) => _impl.ToXmlString(includePrivateParameters); 270_impl.VerifyData(buffer, signature, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1); 283return _impl.VerifyData(data, offset, count, signature, hashAlgorithm, padding); 297return _impl.VerifyData(data, signature, hashAlgorithm, padding); 319return _impl.VerifyHash(hash, signature, hashAlgorithm, padding);