Corrected "old-style function definition".
[obnox/wireshark/wip.git] / asn1 / ocsp / ocsp.cnf
1 # ocsp.cnf
2 # OCSP conformation file
3
4 # $Id$
5
6 #.MODULE_IMPORT
7 PKIX1Implicit88 pkix1implicit
8 PKIX1Explicit88 pkix1explicit
9
10 #.IMPORT ../x509af/x509af-exp.cnf
11 #.IMPORT ../x509ce/x509ce-exp.cnf
12 #.INCLUDE ../pkix1implicit/pkix1implicit_exp.cnf
13 #.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf
14
15 #.EXPORTS
16 OCSPResponse
17
18 #.PDU
19
20 #.REGISTER
21 BasicOCSPResponse       B       "1.3.6.1.5.5.7.48.1.1"  "id-pkix-ocsp-basic"
22 CrlID                           B       "1.3.6.1.5.5.7.48.1.3"  "id-pkix-ocsp-crl"
23 AcceptableResponses     B       "1.3.6.1.5.5.7.48.1.4"  "id-pkix-ocsp-response"
24 NULL                            B       "1.3.6.1.5.5.7.48.1.5"  "id-pkix-ocsp-nocheck"
25 ArchiveCutoff           B       "1.3.6.1.5.5.7.48.1.6"  "id-pkix-ocsp-archive-cutoff"
26 ServiceLocator          B       "1.3.6.1.5.5.7.48.1.7"  "id-pkix-ocsp-service-locator"
27
28 #.NO_EMIT
29
30 #.TYPE_RENAME
31
32 #.FIELD_RENAME
33
34 #.FN_PARS ResponseBytes/responseType
35   FN_VARIANT = _str  HF_INDEX = hf_ocsp_responseType_id  VAL_PTR = &responseType_id
36
37 #.FN_BODY ResponseBytes/response
38   gint8 class;
39   gboolean pc, ind;
40   gint32 tag;
41   guint32 len;
42   /* skip past the T and L  */
43   offset = dissect_ber_identifier(actx->pinfo, tree, tvb, offset, &class, &pc, &tag);
44   offset = dissect_ber_length(actx->pinfo, tree, tvb, offset, &len, &ind);
45   offset=call_ber_oid_callback(responseType_id, tvb, offset, actx->pinfo, tree);
46
47 #.END