73 references to SafeEvpPKeyHandle
System.Net.Quic (4)
_generated\0\LibraryImports.g.cs (3)
1441internal static partial global::System.Security.Cryptography.SafeEvpPKeyHandle GetX509EvpPublicKey(global::Microsoft.Win32.SafeHandles.SafeX509Handle x509) 1445global::System.Security.Cryptography.SafeEvpPKeyHandle __retVal = default; 1448global::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)
3992internal static partial int SslUsePrivateKey(global::Microsoft.Win32.SafeHandles.SafeSslHandle ssl, global::System.Security.Cryptography.SafeEvpPKeyHandle keyPtr) 3998global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedIn __keyPtr_native__marshaller = new(); 4732internal static partial int SslCtxUsePrivateKey(global::Microsoft.Win32.SafeHandles.SafeSslContextHandle ctx, global::System.Security.Cryptography.SafeEvpPKeyHandle keyPtr) 4738global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Security.Cryptography.SafeEvpPKeyHandle>.ManagedToUnmanagedIn __keyPtr_native__marshaller = new(); 5115internal static partial global::System.Security.Cryptography.SafeEvpPKeyHandle GetX509EvpPublicKey(global::Microsoft.Win32.SafeHandles.SafeX509Handle x509) 5119global::System.Security.Cryptography.SafeEvpPKeyHandle __retVal = default; 5122global::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)
1341private 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 (56)
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 (13)
57public DSAOpenSsl(SafeEvpPKeyHandle pkeyHandle) 62public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 115public ECDiffieHellmanOpenSsl(SafeEvpPKeyHandle pkeyHandle) 120public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 172public ECDsaOpenSsl(SafeEvpPKeyHandle pkeyHandle) 177public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 228public RSAOpenSsl(SafeEvpPKeyHandle pkeyHandle) 233public SafeEvpPKeyHandle DuplicateKeyHandle() => null!; 272public static SafeEvpPKeyHandle OpenPrivateKeyFromEngine(string engineName, string keyId) => 280public static SafeEvpPKeyHandle OpenPublicKeyFromEngine(string engineName, string keyId) => 288public static SafeEvpPKeyHandle OpenKeyFromProvider(string providerName, string keyUri) => 296public static SafeEvpPKeyHandle OpenKeyFromProvider(IEnumerable<string> providerNames, string keyUri, string? propertyQuery = null) => 299public 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))]