i2d_ECDSA_SIG

DER encode content of ECDSA_SIG object (note: this function modifies *pp (*pp += length of the DER encoded signature)).

extern (C) nothrow @nogc
int
i2d_ECDSA_SIG
(
const(.ECDSA_SIG)* sig
,
ubyte** pp
)

Parameters

sig const(.ECDSA_SIG)*

pointer to the ECDSA_SIG object

pp ubyte**

pointer to a ubyte pointer for the output or null

Return Value

Type: int

the length of the DER encoded ECDSA_SIG object or 0

Meta