shishi_keys_to_keytab_mem3
Api function
Usage
#include <shishi.h>
int shishi_keys_to_keytab_mem(Shishi * handle, Shishi_keys * keys, char ** out, size_t * len);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_keys * keys
|
key set to convert to keytab format. |
char ** out
|
constant memory buffer with keytab of len size. |
size_t * len
|
size of memory buffer with keytab data. |
Overview
Write keys to a MIT keytab data structure.
The format of keytab's is proprietary, and this function writes the 0x0502 format. See the section The MIT Kerberos Keytab Binary File Format in the Shishi manual for a description of the reverse-engineered format.
Returns
On success SHISHI_OK is returned, otherwise an error code.
Since
0.0.42
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 3 times.