ns_crypto::JWT method resolve_signing_key_pem (protected)
<instance of ns_crypto::JWT
> resolve_signing_key_pem \
[ -alg alg ] [ -key key ] [ -jwk jwk ]
Defined in
- Switches:
- -alg (optional)
- -key (optional)
- -jwk (optional)
- Testcases:
-
No testcase defined.
Source code:
if {$key ne ""} {
return $key
}
if {$jwk ne ""} {
error "encode with -jwk is not implemented yet; provide -key PEM"
}
error "missing signing key; provide -key"
XQL Not present:Generic, PostgreSQL, Oracle
[
hide source ]
| [
make this the default ]