diff --git a/src/modules/secsipid/doc/secsipid_admin.xml b/src/modules/secsipid/doc/secsipid_admin.xml index 8f0a3d48db3..ecc9060ce31 100644 --- a/src/modules/secsipid/doc/secsipid_admin.xml +++ b/src/modules/secsipid/doc/secsipid_admin.xml @@ -171,6 +171,40 @@ request_route { ... } ... + + + + Further checks can be done with config operations, decoding the JWT header + and payload using {s.select} and {s.decode.base64t} transformations + together with jansson module. + + +
+ + <function moreinfo="none">secsipid_check_identity(pubkeyVal)</function> + + + Similar to secsipid_check_identity() with the public key value + provided in the parameter. + + + The parameters can contain pseudo-variables. + + + This function can be used from ANY_ROUTE. + + + <function>secsipid_check_identity_pubkey</function> usage + +... +request_route { + ... + http_client_query("https://provider.com/stir-shaken/cert.pem", "$var(pubkey)"); + ... + if(secsipid_check_identity_pubkey("$var(pubkey)")) { ... } + ... +} +...