aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ocsp/ocsp.cnf
blob: 1f61c4372d48d0d7db97cd5310cc3ff13f7317ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ocsp.cnf
# OCSP conformation file

# $Id$

#.MODULE_IMPORT
AuthenticationFramework x509af
CertificateExtensions x509ce
PKIX1Implicit88 pkix1implicit
PKIX1Explicit88 pkix1explicit

#.INCLUDE ../x509af/x509af-exp.cnf
#.INCLUDE ../x509ce/x509ce-exp.cnf
#.INCLUDE ../pkix1implicit/pkix1implicit_exp.cnf
#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf

#.EXPORTS

#.PDU

#.REGISTER
BasicOCSPResponse	B	"1.3.6.1.5.5.7.48.1.1"	"id-pkix-ocsp-basic"
CrlID			B	"1.3.6.1.5.5.7.48.1.3"	"id-pkix-ocsp-crl"
AcceptableResponses	B	"1.3.6.1.5.5.7.48.1.4"	"id-pkix-ocsp-response"
ArchiveCutoff		B	"1.3.6.1.5.5.7.48.1.6"	"id-pkix-ocsp-archive-cutoff"
ServiceLocator		B	"1.3.6.1.5.5.7.48.1.7"	"id-pkix-ocsp-service-locator"

#.NO_EMIT

#.TYPE_RENAME

#.FIELD_RENAME

#.FN_PARS ResponseBytes/responseType
  FN_VARIANT = _str  HF_INDEX = hf_ocsp_responseType_id  VAL_PTR = &responseType_id

#.FN_BODY ResponseBytes/response
  gint8 class;
  gboolean pc, ind;
  gint32 tag;
  guint32 len;
  /* skip past the T and L  */
  offset = dissect_ber_identifier(pinfo, tree, tvb, offset, &class, &pc, &tag);
  offset = dissect_ber_length(pinfo, tree, tvb, offset, &len, &ind);
  offset=call_ber_oid_callback(responseType_id, tvb, offset, pinfo, tree);

#.END