Base:
25 references to IsInvalid
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
888Debug.Assert(keyPtr != null && !keyPtr.IsInvalid);
System.Security.Cryptography (24)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.cs (4)
76if (handle.IsInvalid) 99if (handle.IsInvalid) 241if (pkey.IsInvalid) 271if (pkey.IsInvalid)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.Ecdh.cs (2)
25Debug.Assert(!pkey.IsInvalid); 27Debug.Assert(!peerKey.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\ECDsaOpenSsl.cs (1)
279if (key == null || key.IsInvalid)
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (4)
174Debug.Assert(!key.IsInvalid); 547Debug.Assert(!newKey.IsInvalid); 594Debug.Assert(!newKey.IsInvalid); 714if (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)
67if (IsInvalid)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (4)
553if (_privateKey == null || _privateKey.IsInvalid) 563if (_privateKey == null || _privateKey.IsInvalid) 593if (_privateKey == null || _privateKey.IsInvalid) 603if (_privateKey == null || _privateKey.IsInvalid)