int AKPrin_getName

(const AKPrincipal ap, char* buff)

Copies the AKPrincipal's distinguished name into buff.

Documentation

Copies the AKPrincipal's distinguished name into buff. This function should be called first with buff equal to NULL to get the length of the distinguished name. Then a buffer should be allocated by the caller of that length and this method called again to fill in the buffer

Parameters:
ap - a pointer to an AkPrincipal
buff - if NULL only the length of the DN will be returned if non-NULL a pointer to a buffer into which the DN will be coppied
Returns:
the length of the dn.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.