X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilcpk.h;h=93a4bc66aa0bd60afda8bc0420de1d66a589ddc0;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=f62c628c9f0cc4d7b9967d05138c77451bf31e6b;hpb=0987234560b29a99fea5b99f7d68e501df024f8c;p=silc.git diff --git a/lib/silccrypt/silcpk.h b/lib/silccrypt/silcpk.h index f62c628c..93a4bc66 100644 --- a/lib/silccrypt/silcpk.h +++ b/lib/silccrypt/silcpk.h @@ -64,7 +64,7 @@ typedef struct SilcPublicKeyIdentifierObject { * * This structure defines the SILC protocol style public key. User * doesn't have to access this structure usually, except when access to - * the identifier is required. The silc_pkcs_get_context for the + * the identifier is required. The silc_pkcs_public_key_get_pkcs for the * PKCS type SILC_PKCS_SILC returns this context. * * SOURCE @@ -142,8 +142,11 @@ SilcBool silc_pkcs_silc_generate_key(const char *algorithm, * Protocol says that at least username and host must be provided. * Caller must free the returned identifier string. * + * If `stack' is non-NULL the returned string is allocated from `stack'. + * ***/ -char *silc_pkcs_silc_encode_identifier(char *username, char *host, +char *silc_pkcs_silc_encode_identifier(SilcStack stack, + char *username, char *host, char *realname, char *email, char *org, char *country, char *version);