aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pkix1explicit/pkix1explicit.cnf
blob: 5e9ec6adb0a2de225f148488cac1a06463e75b95 (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
48
49
50
51
52
53
54
55
56
57
# pkix1explicit.cnf
# pkix1explicit conformation file

# $Id$

#.MODULE_IMPORT

#.EXPORTS
AttributeTypeAndValue
CertificateSerialNumber
DirectoryString
Extension
Extensions
RelativeDistinguishedName
RDNSequence
TeletexDomainDefinedAttribute
TerminalType

#.REGISTER
DirectoryString  B "1.3.6.1.5.5.7.2.1" "id-qt-cps"
DomainParameters B "1.2.840.10046.2.1" "dhpublicnumber"

#.PDU

#.NO_EMIT

#.TYPE_RENAME

#.FIELD_RENAME

#.FN_BODY DirectoryString
	offset = dissect_ber_octet_string(implicit_tag, pinfo, tree, tvb, offset, hf_index, NULL);

#.FN_BODY AttributeTypeAndValue/value
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                         hf_pkix1explicit_object_identifier_id, object_identifier_id);

#.FN_BODY AttributeTypeAndValue/value
  offset=call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);

#.FN_BODY Extension/extnId
  offset = dissect_ber_object_identifier(FALSE, pinfo, tree, tvb, offset,
                                 hf_pkix1explicit_object_identifier_id, object_identifier_id);

#.FN_BODY Extension/extnValue
  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(object_identifier_id, tvb, offset, pinfo, tree);


#.END