aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x411/x411.cnf
diff options
context:
space:
mode:
authorGraeme Lunt <graeme.lunt@smhs.co.uk>2006-03-25 16:48:28 +0000
committerGraeme Lunt <graeme.lunt@smhs.co.uk>2006-03-25 16:48:28 +0000
commitc51f4fa88754bd12d437e4c9a30e2460bdbd9912 (patch)
tree1e497f3e230b7a242cbcfd78135e2f81ea2591c1 /asn1/x411/x411.cnf
parent011ced394ca3be235d0c60275053a816c8731ec2 (diff)
Support for P1 Strong Authentication
svn path=/trunk/; revision=17727
Diffstat (limited to 'asn1/x411/x411.cnf')
-rw-r--r--asn1/x411/x411.cnf43
1 files changed, 37 insertions, 6 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf
index 2f6367bfe0..19b37cde39 100644
--- a/asn1/x411/x411.cnf
+++ b/asn1/x411/x411.cnf
@@ -124,11 +124,13 @@ ReportDeliveryEnvelope/per-recipient-fields/_item per-recipient-report-delivery-
MessageTransferEnvelope/per-recipient-fields/_item per-recipient-message-fields-item
-
-
MessageTransferEnvelope/per-recipient-fields per-recipient-message-fields
ReportTransferContent/per-recipient-fields per-recipient-report-fields
+AsymmetricTokenData/name/mta token-mta
+AsymmetricTokenData/name/recipient-name token-recipient-name
+
+
#.PDU
MTABindArgument
MTABindResult
@@ -199,6 +201,9 @@ UniversalOrganizationalUnitNames B "x411.extension-attribute.27" "universal-orga
ReportDeliveryArgument B "2.6.1.4.14" "id-et-report"
+AsymmetricToken B "2.6.3.6.0" "id-tok-asymmetricToken"
+MTANameAndOptionalGDI B "2.6.5.6.0" "id-on-mtaName"
+
# X402 - see master list in acp133.cnf
ContentLength B "2.6.5.2.0" "id-at-mhs-maximum-content-length"
@@ -217,8 +222,6 @@ ExtendedEncodedInformationType B "2.6.5.2.18" "id-at-mhs-unacceptable-eits"
ORName B "2.16.840.1.101.2.1.5.47" "id-at-aLExemptedAddressProcessor"
ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
-
-
#.FN_BODY AdditionalInformation
/*XXX not implemented yet */
@@ -557,6 +560,15 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
doing_address = FALSE;
+#.FN_BODY MTANameAndOptionalGDI
+
+ doing_address = TRUE;
+
+ %(DEFAULT_BODY)s
+
+ doing_address = FALSE;
+ proto_item_append_text(tree, ")");
+
#.FN_BODY BuiltInStandardAttributes
address_item = tree;
@@ -579,7 +591,6 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
doing_address = FALSE;
-
#.FN_BODY DomainSuppliedInformation
doing_address = FALSE;
@@ -606,7 +617,7 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
%(DEFAULT_BODY)s
- if(arrival)
+ if(arrival && doing_address)
proto_item_append_text(address_item, " %%s", tvb_format_text(arrival, 0, tvb_length(arrival)));
#.FN_PARS RoutingAction
@@ -628,5 +639,25 @@ ORAddress B "2.16.840.1.101.2.2.1.134.1" "id-at-collective-mhs-or-addresses"
if((error != -1) && check_col(pinfo->cinfo, COL_INFO))
col_append_fstr(pinfo->cinfo, COL_INFO, " (%%s)", val_to_str(error, x411_MTABindError_vals, "error(%%d)"));
+#.FN_PARS TokenTypeIdentifier
+ FN_VARIANT = _str VAL_PTR = &object_identifier_id
+
+#.FN_BODY TokenTypeData
+
+ if(object_identifier_id)
+ call_ber_oid_callback(object_identifier_id, tvb, offset, pinfo, tree);
+
+#.FN_PARS Credentials
+ VAL_PTR = &credentials
+
+#.FN_BODY Credentials
+ guint32 credentials;
+
+ %(DEFAULT_BODY)s
+
+ if (check_col(pinfo->cinfo, COL_INFO)) {
+ if(credentials == -1) credentials = 0;
+ col_append_fstr(pinfo->cinfo, COL_INFO, " %%s", val_to_str(credentials, x411_Credentials_vals, "Credentials(%%d)"));
+ }
#.END