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)
252
get { return
_privateKey
!= null; }
548
get { return
_privateKey
; }
553
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
558
return new RSAOpenSsl(
_privateKey
);
563
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
568
return new DSAOpenSsl(
_privateKey
);
593
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
598
return new ECDsaOpenSsl(
_privateKey
);
603
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
608
return new ECDiffieHellmanOpenSsl(
_privateKey
);
613
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
618
return new MLDsaOpenSsl(
_privateKey
);
623
if (
_privateKey
is null ||
_privateKey
.IsInvalid)
628
return new MLKemOpenSsl(
_privateKey
);
633
if (
_privateKey
== null ||
_privateKey
.IsInvalid)
638
return new SlhDsaOpenSsl(
_privateKey
);
834
if (
_privateKey
!= null)
836
_privateKey
.Dispose();
852
if (
_privateKey
!= null)
854
SafeEvpPKeyHandle keyHandle =
_privateKey
.DuplicateHandle();