logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

krb5_find_padata, krb5_padata_add — Kerberos 5 pre-authentication data handling functions

Description

krb5_find_padata()  tries  to  find  the  pre-authentication  data entry of type type in the array val of
       length len.  The search is started at entry pointed out by *index (zero based  indexing).   If  the  type
       isn't found, NULL is returned.

       krb5_padata_add() adds a pre-authentication data entry of type type pointed out by buf and len to md.

Library

       Kerberos 5 Library (libkrb5, -lkrb5)

Name

       krb5_find_padata, krb5_padata_add — Kerberos 5 pre-authentication data handling functions

See Also

krb5(3), kerberos(8)

HEIMDAL                                          March 21, 2004                              KRB5_FIND_PADATA(3)

Synopsis

#include<krb5.h>PA_DATA*krb5_find_padata(PA_DATA*val, unsignedlen, inttype, int*index);

       intkrb5_padata_add(krb5_contextcontext, METHOD_DATA*md, inttype, void*buf, size_tlen);

See Also