16 references to Crypto
System.Net.Quic (16)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Crypto.cs (3)
143
throw Interop.
Crypto
.CreateOpenSslCryptographicException();
153
throw Interop.
Crypto
.CreateOpenSslCryptographicException();
162
throw Interop.
Crypto
.CreateOpenSslCryptographicException();
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs (1)
73
Interop.
Crypto
.RecursiveFreeX509Stack(handle);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs (1)
86
Interop.
Crypto
.X509StoreCtxDestroy(handle);
src\libraries\Common\src\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs (2)
18
Interop.
Crypto
.Asn1ObjectFree(handle);
38
Interop.
Crypto
.Asn1OctetStringFree(handle);
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeBioHandle.Unix.cs (1)
34
return Interop.
Crypto
.BioDestroy(h);
src\libraries\Common\src\Microsoft\Win32\SafeHandles\SafeX509Handles.Unix.cs (3)
37
Interop.
Crypto
.X509Destroy(handle);
57
Interop.
Crypto
.X509CrlDestroy(handle);
77
Interop.
Crypto
.X509StoreDestroy(handle);
src\libraries\Common\src\Microsoft\Win32\SafeHandles\X509ExtensionSafeHandles.Unix.cs (1)
19
Interop.
Crypto
.X509ExtensionDestroy(handle);
src\libraries\Common\src\System\Net\Security\CertificateValidation.Unix.cs (4)
37
using (SafeX509Handle certHandle = Interop.
Crypto
.X509UpRef(remoteCertificate.Handle))
43
hostNameMatch = Interop.
Crypto
.CheckX509IpAddress(certHandle, addressBytes, addressBytes.Length, hostName, hostName.Length);
51
hostNameMatch = Interop.
Crypto
.CheckX509Hostname(certHandle, matchName, matchName.Length);
55
throw Interop.
Crypto
.CreateOpenSslCryptographicException();