1# CMP.cnf
2# CMP conformation file
3
4#.MODULE_IMPORT
5PKIX1Explicit88	pkix1explicit
6PKIX1Implicit88	pkix1implicit
7PKCS-10 pkcs10
8
9#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf
10#.INCLUDE ../pkix1implicit/pkix1implicit_exp.cnf
11#.INCLUDE ../crmf/crmf-exp.cnf
12
13#.EXPORTS
14PKIMessage
15ProtectedPart
16OOBCert
17OOBCertHash
18
19#.REGISTER
20PBMParameter           B "1.2.840.113533.7.66.13" "id-PasswordBasedMac"
21DHBMParameter          B "1.2.640.113533.7.66.30" "id-DHBasedMac"
22CAProtEncCertValue     B "1.3.6.1.5.5.7.4.1"      "id-it-caProtEncCert"
23SignKeyPairTypesValue  B "1.3.6.1.5.5.7.4.2"      "id-it-signKeyPairTypes"
24EncKeyPairTypesValue   B "1.3.6.1.5.5.7.4.3"      "id-it-encKeyPairTypes"
25PreferredSymmAlgValue  B "1.3.6.1.5.5.7.4.4"      "id-it-preferredSymmAlg"
26CAKeyUpdateInfoValue   B "1.3.6.1.5.5.7.4.5"      "id-it-caKeyUpdateInfo"
27CurrentCRLValue        B "1.3.6.1.5.5.7.4.6"      "id-it-currentCRL"
28UnsupportedOIDsValue   B "1.3.6.1.5.5.7.4.7"      "id-it-unsupportedOIDs"
29KeyPairParamReqValue   B "1.3.6.1.5.5.7.4.10"     "id-it-keyPairParamReq"
30KeyPairParamRepValue   B "1.3.6.1.5.5.7.4.11"     "id-it-keyPairParamRep"
31RevPassphraseValue     B "1.3.6.1.5.5.7.4.12"     "id-it-revPassphrase"
32ImplicitConfirmValue   B "1.3.6.1.5.5.7.4.13"     "id-it-implicitConfirm"
33ConfirmWaitTimeValue   B "1.3.6.1.5.5.7.4.14"     "id-it-confirmWaitTime"
34OrigPKIMessageValue    B "1.3.6.1.5.5.7.4.15"     "id-it-origPKIMessage"
35SuppLangTagsValue      B "1.3.6.1.5.5.7.4.16"     "id-it-suppLangTags"
36
37#.NO_EMIT
38
39#.TYPE_RENAME
40
41#.FIELD_RENAME
42RevRepContent/status    rvrpcnt_status
43CertResponse/status     pkistatusinf
44KeyRecRepContent/status pkistatusinf
45PKIStatusInfo/status pkistatus
46RevAnnContent/status pkistatus
47#.FIELD_ATTR
48PKIStatusInfo/status    ABBREV=pkistatus
49RevRepContent/status    ABBREV=rvrpcnt_status
50
51
52#.FN_PARS InfoTypeAndValue/infoType
53  FN_VARIANT = _str  HF_INDEX = hf_cmp_type_oid  VAL_PTR = &actx->external.direct_reference
54
55#.FN_BODY InfoTypeAndValue/infoValue
56  offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
57
58#.FN_PARS PKIBody
59  VAL_PTR = &branch_taken
60
61#.FN_BODY PKIBody
62  gint branch_taken;
63
64  %(DEFAULT_BODY)s
65
66  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Body=%%s", val_to_str(branch_taken, cmp_PKIBody_vals, "unknown"));
67
68#.FN_PARS PKIStatus
69  VAL_PTR = &value
70
71#.FN_BODY PKIStatus
72  guint32 value;
73
74  %(DEFAULT_BODY)s
75
76  col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Status=%%s", val_to_str(value, cmp_PKIStatus_vals, "unknown"));
77
78#.END_OF_CNF
79