d2i_ECPrivateKey

Decodes a private key from a memory buffer.

extern (C) nothrow @nogc
d2i_ECPrivateKey
(,
const(ubyte)** in_
,
core.stdc.config.c_long len
)

Parameters

key .EC_KEY**

a pointer to a EC_KEY object which should be used (or null)

in_ const(ubyte)**

pointer to memory with the DER encoded private key

len core.stdc.config.c_long

length of the DER encoded private key

Return Value

Type: .EC_KEY*

the decoded private key or null if an error occurred.

Meta