shishi_priv_priv_der3
Api function
Usage
#include <shishi.h>
int shishi_priv_priv_der(Shishi_priv * priv, char ** out, size_t * outlen);
Arguments
Shishi_priv * priv
|
priv as allocated by |
|---|---|
char ** out
|
output array with newly allocated DER encoding of PRIV. |
size_t * outlen
|
length of output array with DER encoding of PRIV. |
Overview
DER encode PRIV structure. Typically shishi_priv_build() is used to build the PRIV structure first. out is allocated by this function, and it is the responsibility of caller to deallocate it.
Return value
Returns SHISHI_OK iff successful.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.