Update to use unchanged asn1 files and X.501:08/2005.
Hopefullly without breaking to many things. svn path=/trunk/; revision=26108
This commit is contained in:
parent
3d07d2bee8
commit
1a109ff02c
|
@ -16,33 +16,6 @@ ServiceAdministration x509if
|
|||
AttributeCertificateDefinitions x509af
|
||||
BasicAccessControl crmf
|
||||
|
||||
#.CLASS OBJECT-CLASS
|
||||
&Superclasses ClassReference OBJECT-CLASS
|
||||
&kind
|
||||
&MandatoryAttributes ClassReference ATTRIBUTE
|
||||
&OptionalAttributes ClassReference ATTRIBUTE
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.CLASS ATTRIBUTE
|
||||
&derivation ClassReference ATTRIBUTE
|
||||
&Type
|
||||
&equality-match ClassReference MATCHING-RULE
|
||||
&ordering-match ClassReference MATCHING-RULE
|
||||
&substrings-match ClassReference MATCHING-RULE
|
||||
&single-valued BooleanType
|
||||
&collective BooleanType
|
||||
&no-user-modification BooleanType
|
||||
&usage
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.CLASS MATCHING-RULE
|
||||
&ParentMatchingRules ClassReference MATCHING-RULE
|
||||
&AssertionType
|
||||
&uniqueMatchIndicator ClassReference ATTRIBUTE
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.CLASS CONTEXT
|
||||
&Type
|
||||
|
@ -100,10 +73,14 @@ AttributeError
|
|||
NameError
|
||||
ServiceError
|
||||
Abandoned
|
||||
SearchControlOptions
|
||||
SecurityError
|
||||
ServiceControlOptions
|
||||
AbandonFailedError
|
||||
UpdateError
|
||||
|
||||
HierarchySelections
|
||||
FamilyGrouping
|
||||
FamilyReturn
|
||||
|
||||
#.TYPE_RENAME
|
||||
FamilyEntry/information FamilyInformation
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -32,7 +32,7 @@ EXPORT_FILES = \
|
|||
|
||||
EXT_ASN_FILE_LIST =
|
||||
|
||||
ASN_FILE_LIST = InformationFramework.asn
|
||||
ASN_FILE_LIST = InformationFramework.asn ServiceAdministration.asn
|
||||
|
||||
# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
|
||||
# files do not exist for all protocols: Please add/remove as required.
|
||||
|
|
|
@ -0,0 +1,240 @@
|
|||
-- $Id:$
|
||||
-- Module ServiceAdministration (X.501:08/2005)
|
||||
ServiceAdministration {joint-iso-itu-t ds(5) module(1)
|
||||
serviceAdministration(33) 5} DEFINITIONS ::=
|
||||
BEGIN
|
||||
|
||||
-- EXPORTS All
|
||||
-- The types and values defined in this module are exported for use in the other ASN.1 modules contained
|
||||
-- within the Directory Specifications, and for the use of other applications which will use them to access
|
||||
-- Directory services. Other applications may use them for their own purposes, but this will not constrain
|
||||
-- extensions and modifications needed to maintain or improve the Directory service.
|
||||
IMPORTS
|
||||
-- from ITU-T Rec. X.501 | ISO/IEC 9594-2
|
||||
directoryAbstractService, informationFramework
|
||||
FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
|
||||
usefulDefinitions(0) 5}
|
||||
ATTRIBUTE, AttributeType, CONTEXT, MATCHING-RULE, OBJECT-CLASS,
|
||||
SupportedAttributes, SupportedContexts
|
||||
FROM InformationFramework informationFramework
|
||||
-- from ITU-T Rec. X.511 | ISO/IEC 9594-3
|
||||
FamilyGrouping, FamilyReturn, HierarchySelections, SearchControlOptions,
|
||||
ServiceControlOptions
|
||||
FROM DirectoryAbstractService directoryAbstractService;
|
||||
|
||||
-- types
|
||||
SearchRule ::= SEQUENCE {
|
||||
COMPONENTS OF SearchRuleId,
|
||||
serviceType [1] OBJECT IDENTIFIER OPTIONAL,
|
||||
userClass [2] INTEGER OPTIONAL,
|
||||
inputAttributeTypes
|
||||
[3] SEQUENCE SIZE (0..MAX) OF RequestAttribute OPTIONAL,
|
||||
attributeCombination [4] AttributeCombination DEFAULT and:{},
|
||||
outputAttributeTypes [5] SEQUENCE SIZE (1..MAX) OF ResultAttribute OPTIONAL,
|
||||
defaultControls [6] ControlOptions OPTIONAL,
|
||||
mandatoryControls [7] ControlOptions OPTIONAL,
|
||||
searchRuleControls [8] ControlOptions OPTIONAL,
|
||||
familyGrouping [9] FamilyGrouping OPTIONAL,
|
||||
familyReturn [10] FamilyReturn OPTIONAL,
|
||||
relaxation [11] RelaxationPolicy OPTIONAL,
|
||||
additionalControl [12] SEQUENCE SIZE (1..MAX) OF AttributeType OPTIONAL,
|
||||
allowedSubset [13] AllowedSubset DEFAULT '111'B,
|
||||
imposedSubset [14] ImposedSubset OPTIONAL,
|
||||
entryLimit [15] EntryLimit OPTIONAL
|
||||
}
|
||||
|
||||
SearchRuleId ::= SEQUENCE {id INTEGER,
|
||||
dmdId [0] OBJECT IDENTIFIER
|
||||
}
|
||||
|
||||
AllowedSubset ::= BIT STRING {baseObject(0), oneLevel(1), wholeSubtree(2)}
|
||||
|
||||
ImposedSubset ::= ENUMERATED {baseObject(0), oneLevel(1), wholeSubtree(2)}
|
||||
|
||||
RequestAttribute ::= SEQUENCE {
|
||||
attributeType ATTRIBUTE.&id({SupportedAttributes}),
|
||||
includeSubtypes [0] BOOLEAN DEFAULT FALSE,
|
||||
selectedValues
|
||||
[1] SEQUENCE SIZE (0..MAX) OF
|
||||
ATTRIBUTE.&Type({SupportedAttributes}{@attributeType}) OPTIONAL,
|
||||
defaultValues
|
||||
[2] SEQUENCE SIZE (0..MAX) OF
|
||||
SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL,
|
||||
values
|
||||
SEQUENCE OF
|
||||
ATTRIBUTE.&Type({SupportedAttributes}{@attributeType})
|
||||
} OPTIONAL,
|
||||
contexts [3] SEQUENCE SIZE (0..MAX) OF ContextProfile OPTIONAL,
|
||||
contextCombination [4] ContextCombination DEFAULT and:{},
|
||||
matchingUse [5] SEQUENCE SIZE (1..MAX) OF MatchingUse OPTIONAL
|
||||
}
|
||||
|
||||
ContextProfile ::= SEQUENCE {
|
||||
contextType CONTEXT.&id({SupportedContexts}),
|
||||
contextValue
|
||||
SEQUENCE SIZE (1..MAX) OF
|
||||
CONTEXT.&Assertion({SupportedContexts}{@contextType}) OPTIONAL
|
||||
}
|
||||
|
||||
ContextCombination ::= CHOICE {
|
||||
context [0] CONTEXT.&id({SupportedContexts}),
|
||||
and [1] SEQUENCE OF ContextCombination,
|
||||
or [2] SEQUENCE OF ContextCombination,
|
||||
not [3] ContextCombination
|
||||
}
|
||||
|
||||
MatchingUse ::= SEQUENCE {
|
||||
restrictionType MATCHING-RESTRICTION.&id({SupportedMatchingRestrictions}),
|
||||
restrictionValue
|
||||
MATCHING-RESTRICTION.&Restriction
|
||||
({SupportedMatchingRestrictions}{@restrictionType})
|
||||
}
|
||||
|
||||
-- Definition of the following information object set is deferred, perhaps to standardized
|
||||
-- profiles or to protocol implementation conformance statements. The set is required to
|
||||
-- specify a table constraint on the components of SupportedMatchingRestrictions
|
||||
SupportedMatchingRestrictions MATCHING-RESTRICTION ::=
|
||||
{...}
|
||||
|
||||
AttributeCombination ::= CHOICE {
|
||||
attribute [0] AttributeType,
|
||||
and [1] SEQUENCE OF AttributeCombination,
|
||||
or [2] SEQUENCE OF AttributeCombination,
|
||||
not [3] AttributeCombination
|
||||
}
|
||||
|
||||
ResultAttribute ::= SEQUENCE {
|
||||
attributeType ATTRIBUTE.&id({SupportedAttributes}),
|
||||
outputValues
|
||||
CHOICE {selectedValues
|
||||
SEQUENCE OF
|
||||
ATTRIBUTE.&Type({SupportedAttributes}{@attributeType}),
|
||||
matchedValuesOnly NULL} OPTIONAL,
|
||||
contexts [0] SEQUENCE SIZE (1..MAX) OF ContextProfile OPTIONAL
|
||||
}
|
||||
|
||||
ControlOptions ::= SEQUENCE {
|
||||
serviceControls [0] ServiceControlOptions DEFAULT {},
|
||||
searchOptions [1] SearchControlOptions DEFAULT {searchAliases},
|
||||
hierarchyOptions [2] HierarchySelections OPTIONAL
|
||||
}
|
||||
|
||||
EntryLimit ::= SEQUENCE {default INTEGER,
|
||||
max INTEGER
|
||||
}
|
||||
|
||||
RelaxationPolicy ::= SEQUENCE {
|
||||
basic [0] MRMapping DEFAULT {},
|
||||
tightenings [1] SEQUENCE SIZE (1..MAX) OF MRMapping OPTIONAL,
|
||||
relaxations [2] SEQUENCE SIZE (1..MAX) OF MRMapping OPTIONAL,
|
||||
maximum [3] INTEGER OPTIONAL, -- mandatory if tightenings is present
|
||||
minimum [4] INTEGER DEFAULT 1
|
||||
}
|
||||
|
||||
MRMapping ::= SEQUENCE {
|
||||
mapping [0] SEQUENCE SIZE (1..MAX) OF Mapping OPTIONAL,
|
||||
substitution [1] SEQUENCE SIZE (1..MAX) OF MRSubstitution OPTIONAL
|
||||
}
|
||||
|
||||
Mapping ::= SEQUENCE {
|
||||
mappingFunction
|
||||
OBJECT IDENTIFIER
|
||||
(CONSTRAINED BY {-- shall be an--
|
||||
|
||||
-- object identifier of a mapping-based matching algorithm -- }),
|
||||
level INTEGER DEFAULT 0
|
||||
}
|
||||
|
||||
MRSubstitution ::= SEQUENCE {
|
||||
attribute AttributeType,
|
||||
oldMatchingRule [0] MATCHING-RULE.&id OPTIONAL,
|
||||
newMatchingRule [1] MATCHING-RULE.&id OPTIONAL
|
||||
}
|
||||
|
||||
-- ASN.1 information object classes
|
||||
SEARCH-RULE ::= CLASS {
|
||||
&dmdId OBJECT IDENTIFIER,
|
||||
&serviceType OBJECT IDENTIFIER OPTIONAL,
|
||||
&userClass INTEGER OPTIONAL,
|
||||
&InputAttributeTypes REQUEST-ATTRIBUTE OPTIONAL,
|
||||
&combination AttributeCombination OPTIONAL,
|
||||
&OutputAttributeTypes RESULT-ATTRIBUTE OPTIONAL,
|
||||
&defaultControls ControlOptions OPTIONAL,
|
||||
&mandatoryControls ControlOptions OPTIONAL,
|
||||
&searchRuleControls ControlOptions OPTIONAL,
|
||||
&familyGrouping FamilyGrouping OPTIONAL,
|
||||
&familyReturn FamilyReturn OPTIONAL,
|
||||
&additionalControl AttributeType OPTIONAL,
|
||||
&relaxation RelaxationPolicy OPTIONAL,
|
||||
&allowedSubset AllowedSubset DEFAULT '111'B,
|
||||
&imposedSubset ImposedSubset OPTIONAL,
|
||||
&entryLimit EntryLimit OPTIONAL,
|
||||
&id INTEGER UNIQUE
|
||||
}
|
||||
WITH SYNTAX {
|
||||
DMD ID &dmdId
|
||||
[SERVICE-TYPE &serviceType]
|
||||
[USER-CLASS &userClass]
|
||||
[INPUT ATTRIBUTES &InputAttributeTypes]
|
||||
[COMBINATION &combination]
|
||||
[OUTPUT ATTRIBUTES &OutputAttributeTypes]
|
||||
[DEFAULT CONTROL &defaultControls]
|
||||
[MANDATORY CONTROL &mandatoryControls]
|
||||
[SEARCH-RULE CONTROL &searchRuleControls]
|
||||
[FAMILY-GROUPING &familyGrouping]
|
||||
[FAMILY-RETURN &familyReturn]
|
||||
[ADDITIONAL CONTROL &additionalControl]
|
||||
[RELAXATION &relaxation]
|
||||
[ALLOWED SUBSET &allowedSubset]
|
||||
[IMPOSED SUBSET &imposedSubset]
|
||||
[ENTRY LIMIT &entryLimit]
|
||||
ID &id
|
||||
}
|
||||
|
||||
REQUEST-ATTRIBUTE ::= CLASS {
|
||||
&attributeType ATTRIBUTE.&id,
|
||||
&SelectedValues ATTRIBUTE.&Type OPTIONAL,
|
||||
&DefaultValues SEQUENCE {entryType OBJECT-CLASS.&id OPTIONAL,
|
||||
values SEQUENCE OF ATTRIBUTE.&Type
|
||||
} OPTIONAL,
|
||||
&contexts SEQUENCE OF ContextProfile OPTIONAL,
|
||||
&contextCombination ContextCombination OPTIONAL,
|
||||
&MatchingUse MatchingUse OPTIONAL,
|
||||
&includeSubtypes BOOLEAN DEFAULT FALSE
|
||||
}
|
||||
WITH SYNTAX {
|
||||
ATTRIBUTE TYPE &attributeType
|
||||
[SELECTED VALUES &SelectedValues]
|
||||
[DEFAULT VALUES &DefaultValues]
|
||||
[CONTEXTS &contexts]
|
||||
[CONTEXT COMBINATION &contextCombination]
|
||||
[MATCHING USE &MatchingUse]
|
||||
[INCLUDE SUBTYPES &includeSubtypes]
|
||||
}
|
||||
|
||||
RESULT-ATTRIBUTE ::= CLASS {
|
||||
&attributeType ATTRIBUTE.&id,
|
||||
&outputValues CHOICE {selectedValues SEQUENCE OF ATTRIBUTE.&Type,
|
||||
matchedValuesOnly NULL
|
||||
} OPTIONAL,
|
||||
&contexts ContextProfile OPTIONAL
|
||||
}
|
||||
WITH SYNTAX {
|
||||
ATTRIBUTE TYPE &attributeType
|
||||
[OUTPUT VALUES &outputValues]
|
||||
[CONTEXTS &contexts]
|
||||
}
|
||||
|
||||
MATCHING-RESTRICTION ::= CLASS {
|
||||
&Restriction ,
|
||||
&Rules MATCHING-RULE.&id,
|
||||
&id OBJECT IDENTIFIER UNIQUE
|
||||
}WITH SYNTAX {RESTRICTION &Restriction
|
||||
RULES &Rules
|
||||
ID &id
|
||||
}
|
||||
|
||||
END -- ServiceAdministration
|
||||
|
||||
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
|
||||
|
|
@ -37,6 +37,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "packet-ber.h"
|
||||
#include "packet-dap.h"
|
||||
#include "packet-x509if.h"
|
||||
#include "packet-x509sat.h"
|
||||
#include <epan/emem.h>
|
||||
|
|
|
@ -5,7 +5,58 @@
|
|||
|
||||
#.IMPORT ../x509sat/x509sat-exp.cnf
|
||||
|
||||
#.MODULE_IMPORT
|
||||
DirectoryAbstractService dap
|
||||
|
||||
#.CLASS ATTRIBUTE
|
||||
&derivation ClassReference ATTRIBUTE
|
||||
&Type
|
||||
&equality-match ClassReference MATCHING-RULE
|
||||
&ordering-match ClassReference MATCHING-RULE
|
||||
&substrings-match ClassReference MATCHING-RULE
|
||||
&single-valued BooleanType
|
||||
&collective BooleanType
|
||||
&no-user-modification BooleanType
|
||||
&usage TypeReference AttributeUsage
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
#.CLASS CONTEXT
|
||||
&Type
|
||||
&Assertion
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
#.CLASS OBJECT-CLASS
|
||||
&Superclasses ClassReference OBJECT-CLASS
|
||||
&kind TypeReference ObjectClassKind
|
||||
&MandatoryAttributes ClassReference ATTRIBUTE
|
||||
&OptionalAttributes ClassReference ATTRIBUTE
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.CLASS MATCHING-RESTRICTION
|
||||
&Restriction
|
||||
&Rules _FixedTypeValueSetFieldSpec
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.CLASS MATCHING-RULE
|
||||
&ParentMatchingRules ClassReference MATCHING-RULE
|
||||
&AssertionType
|
||||
&uniqueMatchIndicator ClassReference ATTRIBUTE
|
||||
&id ObjectIdentifierType
|
||||
#.END
|
||||
|
||||
#.EXPORTS
|
||||
OBJECT-CLASS
|
||||
ATTRIBUTE
|
||||
MATCHING-RULE
|
||||
MAPPING-BASED-MATCHING
|
||||
NAME-FORM
|
||||
STRUCTURE-RULE
|
||||
CONTENT-RULE
|
||||
CONTEXT
|
||||
SEARCH-RULE
|
||||
MATCHING-RESTRICTION
|
||||
AllowedSubset
|
||||
Attribute
|
||||
AttributeCombination
|
||||
|
@ -34,7 +85,6 @@ MatchingUse
|
|||
MRMapping
|
||||
MRSubstitution
|
||||
Name
|
||||
OutputValues
|
||||
Refinement
|
||||
RelativeDistinguishedName
|
||||
RelaxationPolicy
|
||||
|
@ -124,16 +174,16 @@ DistinguishedName B "2.16.840.1.101.2.2.1.140" "id-at-garrison"
|
|||
|
||||
|
||||
|
||||
#.FN_PARS ContextId
|
||||
#.FN_PARS ContextAssertion/contextType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY ContextValue
|
||||
#.FN_BODY ContextAssertion/contextValues/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS AttributeId
|
||||
#.FN_PARS Attribute/type
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY AttributeId
|
||||
#.FN_BODY Attribute/type
|
||||
const char *fmt;
|
||||
const char *name;
|
||||
|
||||
|
@ -168,7 +218,7 @@ DistinguishedName B "2.16.840.1.101.2.2.1.140" "id-at-garrison"
|
|||
}
|
||||
}
|
||||
|
||||
#.FN_BODY AttributeValue
|
||||
#.FN_BODY Attribute/values/_item
|
||||
int old_offset = offset;
|
||||
tvbuff_t *out_tvb;
|
||||
char *value = NULL;
|
||||
|
@ -211,18 +261,66 @@ DistinguishedName B "2.16.840.1.101.2.2.1.140" "id-at-garrison"
|
|||
}
|
||||
}
|
||||
|
||||
#.FN_BODY SelectedValues
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS DefaultValueType
|
||||
#.FN_PARS RequestAttribute/attributeType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY DefaultValueValues
|
||||
#.FN_BODY RequestAttribute/selectedValues/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_BODY ValuesWithContextValue
|
||||
#.FN_PARS RequestAttribute/defaultValues/_item/entryType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY RequestAttribute/defaultValues/_item/values/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_BODY Attribute/valuesWithContext/_item/value
|
||||
offset=call_ber_oid_callback("unknown", tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS ResultAttribute/attributeType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY ResultAttribute/outputValues/selectedValues/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS Context/contextType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY Context/contextValues/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS AttributeType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY AttributeValue
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS AttributeValueAssertion/type
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY AttributeValueAssertion/assertion
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS AttributeTypeAndDistinguishedValue/type
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY AttributeTypeAndDistinguishedValue/value
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS ContextProfile/contextType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY ContextProfile/contextValue/_item
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_PARS MatchingUse/restrictionType
|
||||
FN_VARIANT = _str HF_INDEX = hf_x509if_object_identifier_id VAL_PTR = &object_identifier_id
|
||||
|
||||
#.FN_BODY MatchingUse/restrictionValue
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_BODY AttributeTypeAndDistinguishedValue/valuesWithContext/_item/distingAttrValue
|
||||
offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree);
|
||||
|
||||
#.FN_BODY RelativeDistinguishedName
|
||||
char *temp_dn;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Do not modify this file. */
|
||||
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
||||
/* packet-dap.c */
|
||||
/* ../../tools/asn2wrs.py -b -e -L -p dap -c ./dap.cnf -s ./packet-dap-template -D . dap.asn DirectoryAccessProtocol.asn */
|
||||
/* ../../tools/asn2wrs.py -b -e -L -p dap -c dap.cnf -s packet-dap-template dap.asn DirectoryAccessProtocol.asn */
|
||||
|
||||
/* Input file: packet-dap-template.c */
|
||||
|
||||
|
@ -741,7 +741,7 @@ static int dissect_dap_SearchResultData(gboolean implicit_tag _U_, tvbuff_t *tvb
|
|||
|
||||
|
||||
|
||||
static const value_string dap_FamilyGrouping_vals[] = {
|
||||
const value_string dap_FamilyGrouping_vals[] = {
|
||||
{ 1, "entryOnly" },
|
||||
{ 2, "compoundEntry" },
|
||||
{ 3, "strands" },
|
||||
|
@ -750,7 +750,7 @@ static const value_string dap_FamilyGrouping_vals[] = {
|
|||
};
|
||||
|
||||
|
||||
static int
|
||||
int
|
||||
dissect_dap_FamilyGrouping(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);
|
||||
|
@ -775,7 +775,7 @@ static const asn_namedbit ServiceControlOptions_bits[] = {
|
|||
{ 0, NULL, 0, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
int
|
||||
dissect_dap_ServiceControlOptions(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_bitstring(implicit_tag, actx, tree, tvb, offset,
|
||||
ServiceControlOptions_bits, hf_index, ett_dap_ServiceControlOptions,
|
||||
|
@ -1141,7 +1141,7 @@ static const ber_sequence_t FamilyReturn_sequence[] = {
|
|||
{ NULL, 0, 0, 0, NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
int
|
||||
dissect_dap_FamilyReturn(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,
|
||||
FamilyReturn_sequence, hf_index, ett_dap_FamilyReturn);
|
||||
|
@ -2996,7 +2996,7 @@ static const asn_namedbit HierarchySelections_bits[] = {
|
|||
{ 0, NULL, 0, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
int
|
||||
dissect_dap_HierarchySelections(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_bitstring(implicit_tag, actx, tree, tvb, offset,
|
||||
HierarchySelections_bits, hf_index, ett_dap_HierarchySelections,
|
||||
|
@ -3022,7 +3022,7 @@ static const asn_namedbit SearchControlOptions_bits[] = {
|
|||
{ 0, NULL, 0, 0, NULL, NULL }
|
||||
};
|
||||
|
||||
static int
|
||||
int
|
||||
dissect_dap_SearchControlOptions(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_bitstring(implicit_tag, actx, tree, tvb, offset,
|
||||
SearchControlOptions_bits, hf_index, ett_dap_SearchControlOptions,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Do not modify this file. */
|
||||
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
||||
/* packet-dap.h */
|
||||
/* ../../tools/asn2wrs.py -b -e -L -p dap -c ./dap.cnf -s ./packet-dap-template -D . dap.asn DirectoryAccessProtocol.asn */
|
||||
/* ../../tools/asn2wrs.py -b -e -L -p dap -c dap.cnf -s packet-dap-template dap.asn DirectoryAccessProtocol.asn */
|
||||
|
||||
/* Input file: packet-dap-template.h */
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
|||
|
||||
/*--- Included file: packet-dap-exp.h ---*/
|
||||
#line 1 "packet-dap-exp.h"
|
||||
extern const value_string dap_FamilyGrouping_vals[];
|
||||
extern const value_string dap_ContextSelection_vals[];
|
||||
extern const value_string dap_Filter_vals[];
|
||||
extern const value_string dap_DirectoryBindError_vals[];
|
||||
|
@ -66,7 +67,10 @@ extern const value_string dap_Referral_vals[];
|
|||
extern const value_string dap_SecurityError_vals[];
|
||||
extern const value_string dap_ServiceError_vals[];
|
||||
extern const value_string dap_UpdateError_vals[];
|
||||
int dissect_dap_FamilyGrouping(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_ServiceControlOptions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_ContextSelection(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_FamilyReturn(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_Filter(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_SecurityParameters(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_DirectoryBindArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
|
@ -80,6 +84,8 @@ int dissect_dap_AbandonResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int
|
|||
int dissect_dap_ListArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_ListResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_SearchArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_HierarchySelections(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_SearchControlOptions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_SearchResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_AddEntryArgument(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_dap_AddEntryResult(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
/* Do not modify this file. */
|
||||
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
|
||||
/* packet-x509if.h */
|
||||
/* ../../tools/asn2wrs.py -b -e -p x509if -c x509if.cnf -s packet-x509if-template InformationFramework.asn */
|
||||
/* ../../tools/asn2wrs.py -b -e -p x509if -c x509if.cnf -s packet-x509if-template InformationFramework.asn ServiceAdministration.asn */
|
||||
|
||||
/* Input file: packet-x509if-template.h */
|
||||
|
||||
|
@ -43,10 +43,9 @@ extern const value_string x509if_AttributeUsage_vals[];
|
|||
extern const value_string x509if_ImposedSubset_vals[];
|
||||
extern const value_string x509if_ContextCombination_vals[];
|
||||
extern const value_string x509if_AttributeCombination_vals[];
|
||||
extern const value_string x509if_OutputValues_vals[];
|
||||
int dissect_x509if_AttributeValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_Attribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_AttributeType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_AttributeValue(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_Context(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_AttributeValueAssertion(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_ContextAssertion(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
|
@ -76,7 +75,6 @@ int dissect_x509if_ContextCombination(gboolean implicit_tag _U_, tvbuff_t *tvb _
|
|||
int dissect_x509if_MatchingUse(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_AttributeCombination(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_ResultAttribute(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_OutputValues(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_ControlOptions(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_EntryLimit(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
int dissect_x509if_RelaxationPolicy(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
|
||||
|
|
Loading…
Reference in New Issue