72 references to SafeEvpPKeyHandle
System.Net.Quic (4)
_generated\0\LibraryImports.g.cs (3)
1443internal static partial global::System.Security.Cryptography.SafeEvpPKeyHandle GetX509EvpPublicKey(global::Microsoft.Win32.SafeHandles.SafeX509Handle x509) 1447global::System.Security.Cryptography.SafeEvpPKeyHandle __retVal = default; 1450global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
32internal static partial SafeEvpPKeyHandle GetX509EvpPublicKey(SafeX509Handle x509);
System.Net.Security (12)
_generated\0\LibraryImports.g.cs (7)
3994internal static partial int SslUsePrivateKey(global::Microsoft.Win32.SafeHandles.SafeSslHandle ssl, global::System.Security.Cryptography.SafeEvpPKeyHandle keyPtr) 4000global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedIn __keyPtr_native__marshaller = new(); 4734internal static partial int SslCtxUsePrivateKey(global::Microsoft.Win32.SafeHandles.SafeSslContextHandle ctx, global::System.Security.Cryptography.SafeEvpPKeyHandle keyPtr) 4740global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedIn __keyPtr_native__marshaller = new(); 5117internal static partial global::System.Security.Cryptography.SafeEvpPKeyHandle GetX509EvpPublicKey(global::Microsoft.Win32.SafeHandles.SafeX509Handle x509) 5121global::System.Security.Cryptography.SafeEvpPKeyHandle __retVal = default; 5124global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedOut __retVal_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
1332private static void SetSslCertificate(SafeSslContextHandle contextPtr, SafeX509Handle certPtr, SafeEvpPKeyHandle keyPtr)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.Ssl.cs (1)
250internal static partial int SslUsePrivateKey(SafeSslHandle ssl, SafeEvpPKeyHandle keyPtr);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.SslCtxOptions.cs (1)
22internal static partial int SslCtxUsePrivateKey(SafeSslContextHandle ctx, SafeEvpPKeyHandle keyPtr);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
32internal static partial SafeEvpPKeyHandle GetX509EvpPublicKey(SafeX509Handle x509);
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
29internal readonly SafeEvpPKeyHandle KeyHandle;
System.Security.Cryptography (55)
System\Security\Cryptography\MLDsaOpenSsl.cs (9)
25private SafeEvpPKeyHandle _key; 34/// The OpenSSL <c>EVP_PKEY*</c> value to use as the key, represented as a <see cref="SafeEvpPKeyHandle" />. 53public MLDsaOpenSsl(SafeEvpPKeyHandle pkeyHandle) 54: base(AlgorithmFromHandle(pkeyHandle, out SafeEvpPKeyHandle upRefHandle, out bool hasSeed, out bool hasPrivateKey)) 62SafeEvpPKeyHandle pkeyHandle, 63out SafeEvpPKeyHandle upRefHandle, 68/// Gets a <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key. 70/// <returns>A <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key.</returns> 72public partial SafeEvpPKeyHandle DuplicateKeyHandle();
System\Security\Cryptography\MLDsaOpenSsl.NotSupported.cs (3)
11SafeEvpPKeyHandle pkeyHandle, 12out SafeEvpPKeyHandle upRefHandle, 19public partial SafeEvpPKeyHandle DuplicateKeyHandle()
System\Security\Cryptography\MLKemOpenSsl.cs (9)
25private readonly SafeEvpPKeyHandle _key; 34/// The OpenSSL <c>EVP_PKEY*</c> value to use as the key, represented as a <see cref="SafeEvpPKeyHandle" />. 53public MLKemOpenSsl(SafeEvpPKeyHandle pkeyHandle) : base( 54AlgorithmFromHandle(pkeyHandle, out SafeEvpPKeyHandle upRefHandle, out bool hasSeed, out bool hasDecapsulationKey)) 62SafeEvpPKeyHandle pkeyHandle, 63out SafeEvpPKeyHandle upRefHandle, 68/// Gets a <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key. 70/// <returns>A <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key.</returns> 72public partial SafeEvpPKeyHandle DuplicateKeyHandle();
System\Security\Cryptography\MLKemOpenSsl.NotSupported.cs (3)
11SafeEvpPKeyHandle pkeyHandle, 12out SafeEvpPKeyHandle upRefHandle, 19public partial SafeEvpPKeyHandle DuplicateKeyHandle()
System\Security\Cryptography\OpenSsl.NotSupported.cs (12)
56public DSAOpenSsl(SafeEvpPKeyHandle pkeyHandle) 61public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 114public ECDiffieHellmanOpenSsl(SafeEvpPKeyHandle pkeyHandle) 119public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 171public ECDsaOpenSsl(SafeEvpPKeyHandle pkeyHandle) 176public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 227public RSAOpenSsl(SafeEvpPKeyHandle pkeyHandle) 232public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 271public static SafeEvpPKeyHandle OpenPrivateKeyFromEngine(string engineName, string keyId) => 279public static SafeEvpPKeyHandle OpenPublicKeyFromEngine(string engineName, string keyId) => 287public static SafeEvpPKeyHandle OpenKeyFromProvider(string providerName, string keyUri) => 290public SafeEvpPKeyHandle DuplicateHandle() => null!;
System\Security\Cryptography\SlhDsaOpenSsl.cs (9)
26private readonly SafeEvpPKeyHandle _key; 33/// The OpenSSL <c>EVP_PKEY*</c> value to use as the key, represented as a <see cref="SafeEvpPKeyHandle" />. 52public SlhDsaOpenSsl(SafeEvpPKeyHandle pkeyHandle) : base(AlgorithmFromHandle(pkeyHandle, out SafeEvpPKeyHandle upRefHandle)) 57private static partial SlhDsaAlgorithm AlgorithmFromHandle(SafeEvpPKeyHandle pkeyHandle, out SafeEvpPKeyHandle upRefHandle); 60/// Gets a <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key. 62/// <returns>A <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key.</returns> 64public partial SafeEvpPKeyHandle DuplicateKeyHandle();
System\Security\Cryptography\SlhDsaOpenSsl.NotSupported.cs (3)
10private static partial SlhDsaAlgorithm AlgorithmFromHandle(SafeEvpPKeyHandle pkeyHandle, out SafeEvpPKeyHandle upRefHandle) 15public partial SafeEvpPKeyHandle DuplicateKeyHandle()
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.cs (5)
29/// The OpenSSL <c>EVP_PKEY*</c> value to use as the key, represented as a <see cref="SafeEvpPKeyHandle" />. 48public partial X25519DiffieHellmanOpenSsl(SafeEvpPKeyHandle pkeyHandle); 51/// Gets a <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key. 53/// <returns>A <see cref="SafeEvpPKeyHandle" /> representation of the cryptographic key.</returns> 55public partial SafeEvpPKeyHandle DuplicateKeyHandle();
System\Security\Cryptography\X25519DiffieHellmanOpenSsl.NotSupported.cs (2)
10public partial X25519DiffieHellmanOpenSsl(SafeEvpPKeyHandle pkeyHandle) 16public partial SafeEvpPKeyHandle DuplicateKeyHandle()
System.Security.Cryptography.OpenSsl (1)
System.Security.Cryptography.OpenSsl.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.SafeEvpPKeyHandle))]