shishi_safe_cksum3
Api function
Usage
#include <shishi.h>
int shishi_safe_cksum(Shishi * handle, Shishi_asn1 safe, int32_t * cksumtype, char ** cksum, size_t * cksumlen);
Arguments
Shishi * handle
|
shishi handle as allocated by |
|---|---|
Shishi_asn1 safe
|
safe as allocated by |
int32_t * cksumtype
|
output checksum type. |
char ** cksum
|
output array with newly allocated checksum data from SAFE. |
size_t * cksumlen
|
output size of output checksum data buffer. |
Overview
Read checksum value from KRB-SAFE. cksum 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.