i2o_ECPublicKey

Encodes a ec public key in an octet string.

extern (C) nothrow @nogc
int
i2o_ECPublicKey
(
const(.EC_KEY)* key
,
ubyte** out_
)

Parameters

key const(.EC_KEY)*

the EC_KEY object with the public key

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