diff options
Diffstat (limited to 'asn1/cmp/cmp.cnf')
-rw-r--r-- | asn1/cmp/cmp.cnf | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/asn1/cmp/cmp.cnf b/asn1/cmp/cmp.cnf new file mode 100644 index 0000000000..60209d49da --- /dev/null +++ b/asn1/cmp/cmp.cnf @@ -0,0 +1,116 @@ +# CMP.cnf +# CMP conformation file + +# $Id$ + +#.MODULE_IMPORT +PKIX1Explicit88 pkix1explicit +PKIX1Implicit88 pkix1implicit +PKIXCRMF-2005 crmf + +#.INCLUDE ../pkix1explicit/pkix1explicit_exp.cnf +#.INCLUDE ../pkix1implicit/pkix1implicit_exp.cnf +#.IMPORT ../crmf/crmf-exp.cnf + +#.EXPORTS +CAKeyUpdAnnContent +CMPCertificate +CRLAnnContent +CertAnnContent +CertConfirmContent +CertOrEncCert +CertRepMessage +CertResponse +CertStatus +CertifiedKeyPair +Challenge +DHBMParameter +ErrorMsgContent +GenMsgContent +InfoTypeAndValue +KeyRecRepContent +NestedMessageContent +OOBCert +OOBCertHash +PBMParameter +PKIBody +PKIConfirmContent +PKIFailureInfo +PKIFreeText +PKIHeader +PKIMessage +PKIMessages +PKIProtection +PKIStatus +PKIStatusInfo +POPODecKeyRespContent +PollRepContent +PollReqContent +ProtectedPart +RevAnnContent +RevDetails +RevRepContent +RevReqContent + +#.REGISTER +PBMParameter B "1.2.840.113533.7.66.13" "id-PasswordBasedMac" +DHBMParameter B "1.2.640.113533.7.66.30" "id-DHBasedMac" +CAProtEncCertValue B "1.3.6.1.5.5.7.4.1" "id-it-caProtEncCert" +SignKeyPairTypesValue B "1.3.6.1.5.5.7.4.2" "id-it-signKeyPairTypes" +EncKeyPairTypesValue B "1.3.6.1.5.5.7.4.3" "id-it-encKeyPairTypes" +PreferredSymmAlgValue B "1.3.6.1.5.5.7.4.4" "id-it-preferredSymmAlg" +CAKeyUpdateInfoValue B "1.3.6.1.5.5.7.4.5" "id-it-caKeyUpdateInfo" +CurrentCRLValue B "1.3.6.1.5.5.7.4.6" "id-it-currentCRL" +UnsupportedOIDsValue B "1.3.6.1.5.5.7.4.7" "id-it-unsupportedOIDs" +KeyPairParamReqValue B "1.3.6.1.5.5.7.4.10" "id-it-keyPairParamReq" +KeyPairParamRepValue B "1.3.6.1.5.5.7.4.11" "id-it-keyPairParamRep" +RevPassphraseValue B "1.3.6.1.5.5.7.4.12" "id-it-revPassphrase" +ImplicitConfirmValue B "1.3.6.1.5.5.7.4.13" "id-it-implicitConfirm" +ConfirmWaitTimeValue B "1.3.6.1.5.5.7.4.14" "id-it-confirmWaitTime" +OrigPKIMessageValue B "1.3.6.1.5.5.7.4.15" "id-it-origPKIMessage" +SuppLangTagsValue B "1.3.6.1.5.5.7.4.16" "id-it-suppLangTags" + + +#.NO_EMIT + +#.TYPE_RENAME + +#.FIELD_RENAME +RevRepContent/status rvrpcnt_status +CertResponse/status pkistatusinf +KeyRecRepContent/status pkistatusinf +PKIStatusInfo/status pkistatus +RevAnnContent/status pkistatus + + +#.FN_PARS InfoTypeAndValue/infoType + FN_VARIANT = _str HF_INDEX = hf_cmp_type_oid VAL_PTR = &object_identifier_id + +#.FN_BODY InfoTypeAndValue/infoValue + offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, tree); + +#.FN_PARS PKIBody + VAL_PTR = &branch_taken + +#.FN_BODY PKIBody + gint branch_taken; + + %(DEFAULT_BODY)s + + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Body=%%s", val_to_str(branch_taken, cmp_PKIBody_vals, "unknown")); + } + +#.FN_PARS PKIStatus + VAL_PTR = &value + +#.FN_BODY PKIStatus + guint32 value; + + %(DEFAULT_BODY)s + + if (check_col(actx->pinfo->cinfo, COL_INFO)) { + col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Status=%%s", val_to_str(value, cmp_PKIStatus_vals, "unknown")); + } + +#.END_OF_CNF |