Base:
24 references to IsInvalid
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
880Debug.Assert(keyPtr != null && !keyPtr.IsInvalid, "keyPtr != null && !keyPtr.IsInvalid");
System.Security.Cryptography (23)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.cs (5)
29if (pkey.IsInvalid) 73if (handle.IsInvalid) 96if (handle.IsInvalid) 231if (pkey.IsInvalid) 254if (pkey.IsInvalid)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.Rsa.cs (2)
23if (pkey.IsInvalid) 39if (pkey.IsInvalid)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSslPublicKey.cs (1)
17if (pkeyHandle.IsInvalid)
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (5)
175Debug.Assert(!key.IsInvalid); 548Debug.Assert(!newKey.IsInvalid); 595Debug.Assert(!newKey.IsInvalid); 658Debug.Assert(!newKey.IsInvalid); 716if (key == null || key.IsInvalid)
System\Security\Cryptography\DSAOpenSsl.cs (1)
43if (pkeyHandle.IsInvalid)
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
29if (pkeyHandle.IsInvalid)
System\Security\Cryptography\ECDsaOpenSsl.cs (1)
29if (pkeyHandle.IsInvalid)
System\Security\Cryptography\RSAOpenSsl.cs (2)
48Debug.Assert(!pkey.IsInvalid); 72if (pkeyHandle.IsInvalid)
System\Security\Cryptography\SafeEvpPKeyHandle.OpenSsl.cs (1)
53if (IsInvalid)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (4)
552if (_privateKey == null || _privateKey.IsInvalid) 562if (_privateKey == null || _privateKey.IsInvalid) 592if (_privateKey == null || _privateKey.IsInvalid) 602if (_privateKey == null || _privateKey.IsInvalid)