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)
50
return
_impl
.Decrypt(rgb, fOAEP ? RSAEncryptionPadding.OaepSHA1 : RSAEncryptionPadding.Pkcs1);
73
return
_impl
.TryDecrypt(data, destination, padding, out bytesWritten);
80
_impl
.Dispose();
89
return
_impl
.Encrypt(rgb, fOAEP ? RSAEncryptionPadding.OaepSHA1 : RSAEncryptionPadding.Pkcs1);
110
return
_impl
.TryEncrypt(data, destination, padding, out bytesWritten);
120
_impl
.ExportParameters(includePrivateParameters);
122
public 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);
158
public override string? KeyExchangeAlgorithm =>
_impl
.KeyExchangeAlgorithm;
162
get { return
_impl
.KeySize; }
163
set {
_impl
.KeySize = value; }
168
public override KeySizes[] LegalKeySizes =>
_impl
.LegalKeySizes;
188
return
_impl
.SignData(data, hashAlgorithm, padding);
202
return
_impl
.SignData(data, offset, count, hashAlgorithm, padding);
216
return
_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);
239
return
_impl
.SignHash(hash, hashAlgorithm, padding);
253
return
_impl
.TrySignHash(hash, destination, hashAlgorithm, padding, out bytesWritten);
264
return
_impl
.SignHash(rgbHash, algName, RSASignaturePadding.Pkcs1);
267
public override string ToXmlString(bool includePrivateParameters) =>
_impl
.ToXmlString(includePrivateParameters);
270
_impl
.VerifyData(buffer, signature, CapiHelper.ObjToHashAlgorithmName(halg), RSASignaturePadding.Pkcs1);
283
return
_impl
.VerifyData(data, offset, count, signature, hashAlgorithm, padding);
297
return
_impl
.VerifyData(data, signature, hashAlgorithm, padding);
319
return
_impl
.VerifyHash(hash, signature, hashAlgorithm, padding);