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