Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2003 - 2006 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
* 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
*
#ifndef SILCBER_H
#define SILCBER_H
-/****d* silcasn1/SilcBerAPI/SilcBerClass
+/****d* silcasn1/SilcBerClass
*
* NAME
*
*
* Defines the BER classes.
*
+ * SOURCE
*/
typedef enum {
SILC_BER_CLASS_UNIVERSAL = 0x00, /* Universal */
} SilcBerClass;
/***/
-/****d* silcasn1/SilcBerAPI/SilcBerEncoding
+/****d* silcasn1/SilcBerEncoding
*
* NAME
*
*
* Defines the BER encoding type.
*
+ * SOURCE
*/
typedef enum {
SILC_BER_ENC_PRIMITIVE = 0x00,
} SilcBerEncoding;
/***/
-/****f* silcasn1/SilcBerAPI/silc_ber_encode
+/****f* silcasn1/silc_ber_encode
*
* SYNOPSIS
*
const unsigned char *data, SilcUInt32 data_len,
SilcBool indefinite);
-/****f* silcasn1/SilcBerAPI/silc_ber_decode
+/****f* silcasn1/silc_ber_decode
*
* SYNOPSIS
*
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
*