4 writes to _safeProvHandle
mscorlib (4)
system\security\cryptography\rsacryptoserviceprovider.cs (4)
140
Utils.GetKeyPairHelper(CspAlgorithmType.Rsa, _parameters, _randomKeyContainer, _dwKeySize, ref
_safeProvHandle
, ref _safeKeyHandle);
213
_safeProvHandle
= Utils.CreateProvHandle(_parameters, _randomKeyContainer);
295
_safeProvHandle
= Utils.CreateProvHandle(_parameters, _randomKeyContainer);
308
Utils.ImportCspBlobHelper(CspAlgorithmType.Rsa, keyBlob, IsPublic(keyBlob), ref _parameters, _randomKeyContainer, ref
_safeProvHandle
, ref _safeKeyHandle);
9 references to _safeProvHandle
mscorlib (9)
system\security\cryptography\rsacryptoserviceprovider.cs (9)
153
if (
_safeProvHandle
!= null && !
_safeProvHandle
.IsClosed)
154
_safeProvHandle
.Dispose();
210
if (
_safeProvHandle
== null) {
212
if (
_safeProvHandle
== null)
216
return Utils.GetPersistKeyInCsp(
_safeProvHandle
);
236
Utils.SetPersistKeyInCsp(
_safeProvHandle
, value);
294
if (
_safeProvHandle
== null)
297
Utils._ImportKey(
_safeProvHandle
, Constants.CALG_RSA_KEYX, _parameters.Flags, rsaCspObject, ref _safeKeyHandle);