X-Git-Url: http://git.silc.fi/gitweb/?a=blobdiff_plain;f=lib%2Fsilcasn1%2Fsilcber.h;h=511380119ba68e27da17717c43b66b55de0196eb;hb=26618713bb72877372e5dc3b7b9f7d101c26fb78;hp=8c0ec6942f7bd9e94f0cfe616d0bf821327f4f15;hpb=73bc9cc87bda7bcfa72b96c57f6310792e4d8080;p=crypto.git diff --git a/lib/silcasn1/silcber.h b/lib/silcasn1/silcber.h index 8c0ec694..51138011 100644 --- a/lib/silcasn1/silcber.h +++ b/lib/silcasn1/silcber.h @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 2003 - 2007 Pekka Riikonen + Copyright (C) 2003 - 2008 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -27,6 +27,9 @@ * to encode and decode DER blocks as well. These routines does not * allocate any memory and have been optimized for general ASN.1 usage. * + * This is a low level interface and is not usually needed or used + * directly. + * * References: ITU-T X.690 * http://www.itu.int/ITU-T/studygroups/com17/languages/X690_0702.pdf * @@ -35,7 +38,7 @@ #ifndef SILCBER_H #define SILCBER_H -/****d* silcasn1/SilcBerAPI/SilcBerClass +/****d* silcasn1/SilcBerClass * * NAME * @@ -45,7 +48,8 @@ * * Defines the BER classes. * - ***/ + * SOURCE + */ typedef enum { SILC_BER_CLASS_UNIVERSAL = 0x00, /* Universal */ SILC_BER_CLASS_APPLICATION = 0x01, /* Application */ @@ -54,7 +58,7 @@ typedef enum { } SilcBerClass; /***/ -/****d* silcasn1/SilcBerAPI/SilcBerEncoding +/****d* silcasn1/SilcBerEncoding * * NAME * @@ -64,14 +68,15 @@ typedef enum { * * Defines the BER encoding type. * - ***/ + * SOURCE + */ typedef enum { SILC_BER_ENC_PRIMITIVE = 0x00, SILC_BER_ENC_CONSTRUCTED = 0x01, } SilcBerEncoding; /***/ -/****f* silcasn1/SilcBerAPI/silc_ber_encode +/****f* silcasn1/silc_ber_encode * * SYNOPSIS * @@ -95,7 +100,7 @@ SilcBool silc_ber_encode(SilcBuffer ber, SilcBerClass ber_class, const unsigned char *data, SilcUInt32 data_len, SilcBool indefinite); -/****f* silcasn1/SilcBerAPI/silc_ber_decode +/****f* silcasn1/silc_ber_decode * * SYNOPSIS * @@ -123,7 +128,7 @@ SilcBool silc_ber_decode(SilcBuffer ber, SilcBerClass *ber_class, const unsigned char **data, SilcUInt32 *data_len, SilcBool *indefinite, SilcUInt32 *identifier_len); -/****f* silcasn1/SilcBerAPI/silc_ber_encoded_len +/****f* silcasn1/silc_ber_encoded_len * * SYNOPSIS *