#include "file.h"
#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "magic.h"
#include "der.h"
Go to the source code of this file.
◆ DER_BAD
Definition at line 64 of file der.c.
◆ DER_CLASS_APPLICATION
#define DER_CLASS_APPLICATION 1 |
Definition at line 67 of file der.c.
◆ DER_CLASS_CONTEXT
Definition at line 68 of file der.c.
◆ DER_CLASS_PRIVATE
Definition at line 69 of file der.c.
◆ DER_CLASS_UNIVERSAL
Definition at line 66 of file der.c.
◆ DER_TAG_BIT
Definition at line 83 of file der.c.
◆ DER_TAG_BMP_STRING
#define DER_TAG_BMP_STRING 0x1e |
◆ DER_TAG_BOOLEAN
Definition at line 81 of file der.c.
◆ DER_TAG_CHARACTER_STRING
#define DER_TAG_CHARACTER_STRING 0x1d |
◆ DER_TAG_DATE
◆ DER_TAG_DATE_TIME
#define DER_TAG_DATE_TIME 0x21 |
◆ DER_TAG_DURATION
◆ DER_TAG_EMBEDDED_PDV
#define DER_TAG_EMBEDDED_PDV 0x0b |
Definition at line 91 of file der.c.
◆ DER_TAG_ENUMERATED
#define DER_TAG_ENUMERATED 0x0a |
Definition at line 90 of file der.c.
◆ DER_TAG_EOC
Definition at line 80 of file der.c.
◆ DER_TAG_EXTERNAL
Definition at line 88 of file der.c.
◆ DER_TAG_GENERAL_STRING
#define DER_TAG_GENERAL_STRING 0x1b |
◆ DER_TAG_GENERALIZED_TIME
#define DER_TAG_GENERALIZED_TIME 0x18 |
◆ DER_TAG_GRAPHIC_STRING
#define DER_TAG_GRAPHIC_STRING 0x19 |
◆ DER_TAG_IA5_STRING
#define DER_TAG_IA5_STRING 0x16 |
◆ DER_TAG_INTEGER
Definition at line 82 of file der.c.
◆ DER_TAG_LAST
◆ DER_TAG_NULL
Definition at line 85 of file der.c.
◆ DER_TAG_NUMERIC_STRING
#define DER_TAG_NUMERIC_STRING 0x12 |
Definition at line 98 of file der.c.
◆ DER_TAG_OBJECT_DESCRIPTOR
#define DER_TAG_OBJECT_DESCRIPTOR 0x07 |
Definition at line 87 of file der.c.
◆ DER_TAG_OBJECT_IDENTIFIER
#define DER_TAG_OBJECT_IDENTIFIER 0x06 |
Definition at line 86 of file der.c.
◆ DER_TAG_OCTET_STRING
#define DER_TAG_OCTET_STRING 0x04 |
Definition at line 84 of file der.c.
◆ DER_TAG_OID_IRI
◆ DER_TAG_PRINTABLE_STRING
#define DER_TAG_PRINTABLE_STRING 0x13 |
Definition at line 99 of file der.c.
◆ DER_TAG_REAL
Definition at line 89 of file der.c.
◆ DER_TAG_RELATIVE_OID
#define DER_TAG_RELATIVE_OID 0x0d |
Definition at line 93 of file der.c.
◆ DER_TAG_RELATIVE_OID_IRI
#define DER_TAG_RELATIVE_OID_IRI 0x24 |
◆ DER_TAG_RESERVED_2
#define DER_TAG_RESERVED_2 0x0f |
Definition at line 95 of file der.c.
◆ DER_TAG_SEQUENCE
Definition at line 96 of file der.c.
◆ DER_TAG_SET
Definition at line 97 of file der.c.
◆ DER_TAG_T61_STRING
#define DER_TAG_T61_STRING 0x14 |
◆ DER_TAG_TIME
Definition at line 94 of file der.c.
◆ DER_TAG_TIME_OF_DAY
#define DER_TAG_TIME_OF_DAY 0x20 |
◆ DER_TAG_UNIVERSAL_STRING
#define DER_TAG_UNIVERSAL_STRING 0x1c |
◆ DER_TAG_UTCTIME
◆ DER_TAG_UTF8_STRING
#define DER_TAG_UTF8_STRING 0x0c |
Definition at line 92 of file der.c.
◆ DER_TAG_VIDEOTEX_STRING
#define DER_TAG_VIDEOTEX_STRING 0x15 |
◆ DER_TAG_VISIBLE_STRING
#define DER_TAG_VISIBLE_STRING 0x1a |
◆ DER_TYPE_CONSTRUCTED
#define DER_TYPE_CONSTRUCTED 1 |
Definition at line 75 of file der.c.
◆ DER_TYPE_PRIMITIVE
Definition at line 74 of file der.c.
◆ DPRINTF
◆ der_cmp()
◆ der_offs()
int32_t der_offs |
( |
struct magic_set * | ms, |
|
|
struct magic * | m, |
|
|
size_t | nbytes ) |