forked from osmocom/wireshark
![Stig Bjørlykke](/assets/img/avatar_default.png)
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64 Reviewed-on: https://code.wireshark.org/review/4494 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
111 lines
2.9 KiB
INI
111 lines
2.9 KiB
INI
# CMP.cnf
|
|
# CMP conformation file
|
|
|
|
#.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_NEW
|
|
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 = &actx->external.direct_reference
|
|
|
|
#.FN_BODY InfoTypeAndValue/infoValue
|
|
offset=call_ber_oid_callback(actx->external.direct_reference, tvb, offset, actx->pinfo, tree, NULL);
|
|
|
|
#.FN_PARS PKIBody
|
|
VAL_PTR = &branch_taken
|
|
|
|
#.FN_BODY PKIBody
|
|
gint branch_taken;
|
|
|
|
%(DEFAULT_BODY)s
|
|
|
|
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
|
|
|
|
col_append_fstr(actx->pinfo->cinfo, COL_INFO, " Status=%%s", val_to_str(value, cmp_PKIStatus_vals, "unknown"));
|
|
|
|
#.END_OF_CNF
|