2 writes to _privateKey
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (2)
543_privateKey = privateKey; 837_privateKey = null;
27 references to _privateKey
System.Security.Cryptography (27)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (27)
252get { return _privateKey != null; } 548get { return _privateKey; } 553if (_privateKey == null || _privateKey.IsInvalid) 558return new RSAOpenSsl(_privateKey); 563if (_privateKey == null || _privateKey.IsInvalid) 568return new DSAOpenSsl(_privateKey); 593if (_privateKey == null || _privateKey.IsInvalid) 598return new ECDsaOpenSsl(_privateKey); 603if (_privateKey == null || _privateKey.IsInvalid) 608return new ECDiffieHellmanOpenSsl(_privateKey); 613if (_privateKey == null || _privateKey.IsInvalid) 618return new MLDsaOpenSsl(_privateKey); 623if (_privateKey is null || _privateKey.IsInvalid) 628return new MLKemOpenSsl(_privateKey); 633if (_privateKey == null || _privateKey.IsInvalid) 638return new SlhDsaOpenSsl(_privateKey); 834if (_privateKey != null) 836_privateKey.Dispose(); 852if (_privateKey != null) 854SafeEvpPKeyHandle keyHandle = _privateKey.DuplicateHandle();