Base:
25 references to IsInvalid
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
888
Debug.Assert(keyPtr != null && !keyPtr.
IsInvalid
);
System.Security.Cryptography (24)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.cs (4)
76
if (handle.
IsInvalid
)
99
if (handle.
IsInvalid
)
241
if (pkey.
IsInvalid
)
271
if (pkey.
IsInvalid
)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.Ecdh.cs (2)
25
Debug.Assert(!pkey.
IsInvalid
);
27
Debug.Assert(!peerKey.
IsInvalid
);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EvpPkey.Rsa.cs (2)
23
if (pkey.
IsInvalid
)
39
if (pkey.
IsInvalid
)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSslPublicKey.cs (1)
17
if (pkeyHandle.
IsInvalid
)
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (1)
279
if (key == null || key.
IsInvalid
)
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (4)
174
Debug.Assert(!key.
IsInvalid
);
547
Debug.Assert(!newKey.
IsInvalid
);
594
Debug.Assert(!newKey.
IsInvalid
);
714
if (key == null || key.
IsInvalid
)
System\Security\Cryptography\DSAOpenSsl.cs (1)
43
if (pkeyHandle.
IsInvalid
)
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (1)
29
if (pkeyHandle.
IsInvalid
)
System\Security\Cryptography\ECDsaOpenSsl.cs (1)
29
if (pkeyHandle.
IsInvalid
)
System\Security\Cryptography\RSAOpenSsl.cs (2)
48
Debug.Assert(!pkey.
IsInvalid
);
72
if (pkeyHandle.
IsInvalid
)
System\Security\Cryptography\SafeEvpPKeyHandle.OpenSsl.cs (1)
67
if (
IsInvalid
)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (4)
553
if (_privateKey == null || _privateKey.
IsInvalid
)
563
if (_privateKey == null || _privateKey.
IsInvalid
)
593
if (_privateKey == null || _privateKey.
IsInvalid
)
603
if (_privateKey == null || _privateKey.
IsInvalid
)