#.REGISTER
SearchControlValue B "1.2.840.113556.1.4.319" "pagedResultsControl"
-SortKeyList B "1.2.840.113556.1.4.473" "sortKeyList"
-SortResult B "1.2.840.113556.1.4.474" "sortResult"
+SortKeyList B "1.2.840.113556.1.4.473" "sortKeyList"
+SortResult B "1.2.840.113556.1.4.474" "sortResult"
ReplControlValue B "1.2.840.113556.1.4.841" "replControlValue"
#RFC 3062
PasswdModifyRequestValue B "1.3.6.1.4.1.4203.1.11.1" "passwdModifyOID"
PKCS-12 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1)
pkcs-12(12) modules(0) pkcs-12(1)}
--- $Revision$
+-- $Id$
DEFINITIONS IMPLICIT TAGS ::=
#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf
#.IMPORT ../x509ce/x509ce-exp.cnf
+#.OMIT_ASSIGNMENT
+EDIPartyName
+#.END
+
#.EXPORTS
AuthorityInfoAccessSyntax
timestamp_query_handle = new_create_dissector_handle(dissect_timestamp_query, proto_pkixtsp);
dissector_add_string("media_type", "application/timestamp-query", timestamp_query_handle);
-/*#include "packet-pkixtsp-dis-tab.c"*/
+#include "packet-pkixtsp-dis-tab.c"
}
PKIStatusInfo/status pki_status
TSTInfo/version tst_version
+#.REGISTER
+TSTInfo B "1.2.840.113549.1.9.16.1.4" "id-ct-TSTInfo"
+
#.END
#line 1 "packet-pkix1implicit-hf.c"
static int hf_pkix1implicit_Dummy_PDU = -1; /* Dummy */
static int hf_pkix1implicit_AuthorityInfoAccessSyntax_PDU = -1; /* AuthorityInfoAccessSyntax */
-static int hf_pkix1implicit_nameAssigner = -1; /* DirectoryString */
-static int hf_pkix1implicit_partyName = -1; /* DirectoryString */
static int hf_pkix1implicit_AuthorityInfoAccessSyntax_item = -1; /* AccessDescription */
static int hf_pkix1implicit_accessMethod = -1; /* OBJECT_IDENTIFIER */
static int hf_pkix1implicit_accessLocation = -1; /* GeneralName */
/*--- Included file: packet-pkix1implicit-ett.c ---*/
#line 1 "packet-pkix1implicit-ett.c"
-static gint ett_pkix1implicit_EDIPartyName = -1;
static gint ett_pkix1implicit_AuthorityInfoAccessSyntax = -1;
static gint ett_pkix1implicit_AccessDescription = -1;
static gint ett_pkix1implicit_UserNotice = -1;
}
-static const ber_sequence_t EDIPartyName_sequence[] = {
- { &hf_pkix1implicit_nameAssigner, BER_CLASS_CON, 0, BER_FLAGS_OPTIONAL|BER_FLAGS_IMPLTAG, dissect_pkix1explicit_DirectoryString },
- { &hf_pkix1implicit_partyName, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_pkix1explicit_DirectoryString },
- { NULL, 0, 0, 0, NULL }
-};
-
-static int
-dissect_pkix1implicit_EDIPartyName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
- EDIPartyName_sequence, hf_index, ett_pkix1implicit_EDIPartyName);
-
- return offset;
-}
-
-
static int
dissect_pkix1implicit_OBJECT_IDENTIFIER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
static int
dissect_pkix1implicit_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
{ "AuthorityInfoAccessSyntax", "pkix1implicit.AuthorityInfoAccessSyntax",
FT_UINT32, BASE_DEC, NULL, 0,
"pkix1implicit.AuthorityInfoAccessSyntax", HFILL }},
- { &hf_pkix1implicit_nameAssigner,
- { "nameAssigner", "pkix1implicit.nameAssigner",
- FT_STRING, BASE_NONE, NULL, 0,
- "pkix1explicit.DirectoryString", HFILL }},
- { &hf_pkix1implicit_partyName,
- { "partyName", "pkix1implicit.partyName",
- FT_STRING, BASE_NONE, NULL, 0,
- "pkix1explicit.DirectoryString", HFILL }},
{ &hf_pkix1implicit_AuthorityInfoAccessSyntax_item,
{ "Item", "pkix1implicit.AuthorityInfoAccessSyntax_item",
FT_NONE, BASE_NONE, NULL, 0,
/*--- Included file: packet-pkix1implicit-ettarr.c ---*/
#line 1 "packet-pkix1implicit-ettarr.c"
- &ett_pkix1implicit_EDIPartyName,
&ett_pkix1implicit_AuthorityInfoAccessSyntax,
&ett_pkix1implicit_AccessDescription,
&ett_pkix1implicit_UserNotice,
/*--- Included file: packet-pkixtsp-hf.c ---*/
#line 1 "packet-pkixtsp-hf.c"
+static int hf_pkixtsp_TSTInfo_PDU = -1; /* TSTInfo */
static int hf_pkixtsp_version = -1; /* T_version */
static int hf_pkixtsp_messageImprint = -1; /* MessageImprint */
static int hf_pkixtsp_reqPolicy = -1; /* TSAPolicyId */
static int
dissect_pkixtsp_T_version(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
static int
dissect_pkixtsp_INTEGER(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
static int
dissect_pkixtsp_PKIStatus(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
static int
dissect_pkixtsp_Tst_version(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
static int
dissect_pkixtsp_INTEGER_1_999(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index,
- NULL);
+ NULL);
return offset;
}
return offset;
}
+/*--- PDUs ---*/
+
+static void dissect_TSTInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) {
+ asn1_ctx_t asn1_ctx;
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
+ dissect_pkixtsp_TSTInfo(FALSE, tvb, 0, &asn1_ctx, tree, hf_pkixtsp_TSTInfo_PDU);
+}
+
/*--- End of included file: packet-pkixtsp-fn.c ---*/
#line 57 "packet-pkixtsp-template.c"
/*--- Included file: packet-pkixtsp-hfarr.c ---*/
#line 1 "packet-pkixtsp-hfarr.c"
+ { &hf_pkixtsp_TSTInfo_PDU,
+ { "TSTInfo", "pkixtsp.TSTInfo",
+ FT_NONE, BASE_NONE, NULL, 0,
+ "pkixtsp.TSTInfo", HFILL }},
{ &hf_pkixtsp_version,
{ "version", "pkixtsp.version",
FT_INT32, BASE_DEC, VALS(pkixtsp_T_version_vals), 0,
timestamp_query_handle = new_create_dissector_handle(dissect_timestamp_query, proto_pkixtsp);
dissector_add_string("media_type", "application/timestamp-query", timestamp_query_handle);
-/*#include "packet-pkixtsp-dis-tab.c"*/
+
+/*--- Included file: packet-pkixtsp-dis-tab.c ---*/
+#line 1 "packet-pkixtsp-dis-tab.c"
+ register_ber_oid_dissector("1.2.840.113549.1.9.16.1.4", dissect_TSTInfo_PDU, proto_pkixtsp, "id-ct-TSTInfo");
+
+
+/*--- End of included file: packet-pkixtsp-dis-tab.c ---*/
+#line 148 "packet-pkixtsp-template.c"
}