shishi_safe_safe_der3
Api function
Usage
#include <shishi.h>
int shishi_safe_safe_der(Shishi_safe * safe, char ** out, size_t * outlen);
Arguments
Shishi_safe * safe
|
safe as allocated by |
|---|---|
char ** out
|
output array with newly allocated DER encoding of SAFE. |
size_t * outlen
|
length of output array with DER encoding of SAFE. |
Overview
DER encode SAFE structure. Typically shishi_safe_build() is used to build the SAFE 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.