Base:
24 references to IsInvalid
System.Net.Security (1)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
880
Debug.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)
29
if (pkey.
IsInvalid
)
73
if (handle.
IsInvalid
)
96
if (handle.
IsInvalid
)
231
if (pkey.
IsInvalid
)
254
if (pkey.
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\RSAOpenSsl.cs (5)
175
Debug.Assert(!key.
IsInvalid
);
548
Debug.Assert(!newKey.
IsInvalid
);
595
Debug.Assert(!newKey.
IsInvalid
);
658
Debug.Assert(!newKey.
IsInvalid
);
716
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)
53
if (
IsInvalid
)
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (4)
552
if (_privateKey == null || _privateKey.
IsInvalid
)
562
if (_privateKey == null || _privateKey.
IsInvalid
)
592
if (_privateKey == null || _privateKey.
IsInvalid
)
602
if (_privateKey == null || _privateKey.
IsInvalid
)