Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libdigidoc/openssl/ssl/kssl.c
#include <openssl/opensslconf.h>
#include <string.h>
#include <openssl/ssl.h>
#include <openssl/evp.h>
#include <openssl/objects.h>
#include <openssl/krb5_asn.h>

'defines'

#define KRB5_PRIVATE   1
#define ENOMEM   KRB5KRB_ERR_GENERIC
#define kssl_malloc(size)   OPENSSL_malloc((size))
#define kssl_realloc(ptr, size)   OPENSSL_realloc(ptr, size)
#define kssl_free(ptr)   OPENSSL_free((ptr))

Funciones

char * kstring (char *string)
const EVP_CIPHERkssl_map_enc (krb5_enctype enctype)
int kssl_test_confound (unsigned char *p)
size_tpopulate_cksumlens (void)
unsigned char * kssl_skip_confound (krb5_enctype etype, unsigned char *a)
void kssl_err_set (KSSL_ERR *kssl_err, int reason, char *text)
void print_krb5_data (char *label, krb5_data *kdata)
void print_krb5_authdata (char *label, krb5_authdata **adata)
void print_krb5_keyblock (char *label, krb5_keyblock *keyblk)
void print_krb5_princ (char *label, krb5_principal_data *princ)
krb5_error_code kssl_cget_tkt (KSSL_CTX *kssl_ctx, krb5_data **enc_ticketp, krb5_data *authenp, KSSL_ERR *kssl_err)
krb5_error_code kssl_TKT2tkt (krb5_context krb5context, KRB5_TKTBODY *asn1ticket, krb5_ticket **krb5ticket, KSSL_ERR *kssl_err)
krb5_error_code kssl_sget_tkt (KSSL_CTX *kssl_ctx, krb5_data *indata, krb5_ticket_times *ttimes, KSSL_ERR *kssl_err)
KSSL_CTXkssl_ctx_new (void)
KSSL_CTXkssl_ctx_free (KSSL_CTX *kssl_ctx)
krb5_error_code kssl_ctx_setprinc (KSSL_CTX *kssl_ctx, int which, krb5_data *realm, krb5_data *entity, int nentities)
krb5_error_code kssl_ctx_setstring (KSSL_CTX *kssl_ctx, int which, char *text)
krb5_error_code kssl_ctx_setkey (KSSL_CTX *kssl_ctx, krb5_keyblock *session)
void kssl_ctx_show (KSSL_CTX *kssl_ctx)
int kssl_keytab_is_available (KSSL_CTX *kssl_ctx)
int kssl_tgt_is_available (KSSL_CTX *kssl_ctx)
void kssl_krb5_free_data_contents (krb5_context context, krb5_data *data)
struct tm * k_gmtime (ASN1_GENERALIZEDTIME *gtime, struct tm *k_tm)
krb5_deltat get_rc_clockskew (krb5_context context)
krb5_error_code kssl_validate_times (krb5_timestamp atime, krb5_ticket_times *ttimes)
krb5_error_code kssl_check_authent (KSSL_CTX *kssl_ctx, krb5_data *authentp, krb5_timestamp *atimep, KSSL_ERR *kssl_err)
krb5_error_code kssl_build_principal_2 (krb5_context context, krb5_principal *princ, int rlen, const char *realm, int slen, const char *svc, int hlen, const char *host)

Documentación de los 'defines'

#define ENOMEM   KRB5KRB_ERR_GENERIC
#define KRB5_PRIVATE   1
#define kssl_free (   ptr)    OPENSSL_free((ptr))
#define kssl_malloc (   size)    OPENSSL_malloc((size))
#define kssl_realloc (   ptr,
  size 
)    OPENSSL_realloc(ptr, size)

Documentación de las funciones

krb5_deltat get_rc_clockskew ( krb5_context  context)
struct tm* k_gmtime ( ASN1_GENERALIZEDTIME gtime,
struct tm *  k_tm 
) [read]
krb5_error_code kssl_build_principal_2 ( krb5_context  context,
krb5_principal *  princ,
int  rlen,
const char *  realm,
int  slen,
const char *  svc,
int  hlen,
const char *  host 
)
krb5_error_code kssl_cget_tkt ( KSSL_CTX kssl_ctx,
krb5_data **  enc_ticketp,
krb5_data *  authenp,
KSSL_ERR kssl_err 
)
krb5_error_code kssl_check_authent ( KSSL_CTX kssl_ctx,
krb5_data *  authentp,
krb5_timestamp *  atimep,
KSSL_ERR kssl_err 
)
KSSL_CTX* kssl_ctx_free ( KSSL_CTX kssl_ctx)
KSSL_CTX* kssl_ctx_new ( void  )
krb5_error_code kssl_ctx_setkey ( KSSL_CTX kssl_ctx,
krb5_keyblock *  session 
)
krb5_error_code kssl_ctx_setprinc ( KSSL_CTX kssl_ctx,
int  which,
krb5_data *  realm,
krb5_data *  entity,
int  nentities 
)
krb5_error_code kssl_ctx_setstring ( KSSL_CTX kssl_ctx,
int  which,
char *  text 
)
void kssl_ctx_show ( KSSL_CTX kssl_ctx)
void kssl_err_set ( KSSL_ERR kssl_err,
int  reason,
char *  text 
)
int kssl_keytab_is_available ( KSSL_CTX kssl_ctx)
void kssl_krb5_free_data_contents ( krb5_context  context,
krb5_data *  data 
)
const EVP_CIPHER* kssl_map_enc ( krb5_enctype  enctype)
krb5_error_code kssl_sget_tkt ( KSSL_CTX kssl_ctx,
krb5_data *  indata,
krb5_ticket_times *  ttimes,
KSSL_ERR kssl_err 
)
unsigned char* kssl_skip_confound ( krb5_enctype  etype,
unsigned char *  a 
)
int kssl_test_confound ( unsigned char *  p)
int kssl_tgt_is_available ( KSSL_CTX kssl_ctx)
krb5_error_code kssl_TKT2tkt ( krb5_context  krb5context,
KRB5_TKTBODY asn1ticket,
krb5_ticket **  krb5ticket,
KSSL_ERR kssl_err 
)
krb5_error_code kssl_validate_times ( krb5_timestamp  atime,
krb5_ticket_times *  ttimes 
)
char* kstring ( char *  string)
size_t* populate_cksumlens ( void  )
void print_krb5_authdata ( char *  label,
krb5_authdata **  adata 
)
void print_krb5_data ( char *  label,
krb5_data *  kdata 
)
void print_krb5_keyblock ( char *  label,
krb5_keyblock *  keyblk 
)
void print_krb5_princ ( char *  label,
krb5_principal_data *  princ 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'