i2d_ECPrivateKey

Encodes a private key object and stores the result in a buffer.

extern (C) nothrow @nogc
int
i2d_ECPrivateKey
(,
ubyte** out_
)

Parameters

key .EC_KEY*

the EC_KEY object to encode

out_ ubyte**

the buffer for the result (if null the function returns number of bytes needed).

Return Value

Type: int

1 on success and 0 if an error occurred.

Meta