export Certificate and CertificateList from pkix1explicit
svn path=/trunk/; revision=12826
This commit is contained in:
parent
131c4164b4
commit
03ded18485
|
@ -56,6 +56,18 @@ static int hf_pkix1explicit_object_identifier_id = -1;
|
|||
|
||||
static char object_identifier_id[64]; /*64 chars should be long enough? */
|
||||
|
||||
int
|
||||
dissect_pkix1explicit_Certificate(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509af_Certificate(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
||||
return offset;
|
||||
}
|
||||
int
|
||||
dissect_pkix1explicit_CertificateList(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509af_CertificateList(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
||||
return offset;
|
||||
}
|
||||
int
|
||||
dissect_pkix1explicit_GeneralName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509ce_GeneralName(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef PACKET_PKIX1EXPLICIT_H
|
||||
#define PACKET_PKIX1EXPLICIT_H
|
||||
|
||||
int dissect_pkix1explicit_Certificate(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_CertificateList(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_CertificateSerialNumber(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_Name(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_GeneralName(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
#.IMPORT_TAG
|
||||
AlgorithmIdentifier BER_CLASS_UNI BER_UNI_TAG_SEQUENCE
|
||||
AttributeTypeAndValue BER_CLASS_UNI BER_UNI_TAG_SEQUENCE
|
||||
Certificate BER_CLASS_UNI BER_UNI_TAG_SEQUENCE
|
||||
CertificateList BER_CLASS_UNI BER_UNI_TAG_SEQUENCE
|
||||
CertificateSerialNumber BER_CLASS_UNI BER_UNI_TAG_INTEGER
|
||||
DirectoryString BER_CLASS_UNI BER_UNI_TAG_PrintableString
|
||||
Extension BER_CLASS_UNI BER_UNI_TAG_SEQUENCE
|
||||
|
@ -17,6 +19,8 @@ TerminalType BER_CLASS_UNI BER_UNI_TAG_INTEGER
|
|||
|
||||
#.TYPE_ATTR
|
||||
AttributeTypeAndValue TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0
|
||||
Certificate TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0
|
||||
CertificateList TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0
|
||||
CertificateSerialNumber TYPE = FT_INT32 DISPLAY = BASE_DEC STRINGS = NULL BITMASK = 0
|
||||
DirectoryString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0
|
||||
Extension TYPE = FT_NONE DISPLAY = BASE_NONE STRINGS = NULL BITMASK = 0
|
||||
|
|
|
@ -100,6 +100,18 @@ static gint ett_pkix1explicit_TeletexDomainDefinedAttribute = -1;
|
|||
|
||||
static char object_identifier_id[64]; /*64 chars should be long enough? */
|
||||
|
||||
int
|
||||
dissect_pkix1explicit_Certificate(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509af_Certificate(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
||||
return offset;
|
||||
}
|
||||
int
|
||||
dissect_pkix1explicit_CertificateList(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509af_CertificateList(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
||||
return offset;
|
||||
}
|
||||
int
|
||||
dissect_pkix1explicit_GeneralName(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) {
|
||||
offset = dissect_x509ce_GeneralName(implicit_tag, tvb, offset, pinfo, tree, hf_index);
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
#ifndef PACKET_PKIX1EXPLICIT_H
|
||||
#define PACKET_PKIX1EXPLICIT_H
|
||||
|
||||
int dissect_pkix1explicit_Certificate(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_CertificateList(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_CertificateSerialNumber(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_Name(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
int dissect_pkix1explicit_GeneralName(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
|
||||
|
|
Loading…
Reference in New Issue