krb5_padata_add(3) Kerberos 5 pre-authentication data handling functions

Other Alias

krb5_find_padata

LIBRARY

Kerberos 5 Library (libkrb5, -lkrb5)

SYNOPSIS

In krb5.h

Ft PA_DATA * Fo krb5_find_padata Fa PA_DATA *val Fa unsigned len Fa int type Fa int *index Fc Ft int Fo krb5_padata_add Fa krb5_context context Fa METHOD_DATA *md Fa int type Fa void *buf Fa size_t len Fc

DESCRIPTION

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

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