./jose.phar
. If you need more information about a command, call the command with the option --help
.oct
keys).-u
or --use
: indicates the usage of the key (sig
or enc
): --use enc
. This option is highly recommended.-a
or --alg
: indicates the algorithm to be used with the key: --alg RSA-OAEP-256
. This option is highly recommended.P-256
, P-384
and P-521
.X25519
(for encryption only) and Ed25519
(signature only).none
algorithm. Key parameters alg
and use
are automatically set.oct
).-u
or --use
: indicates the usage of the key (sig
or enc
): --use enc
. This option is highly recommended.-a
or --alg
: indicates the algorithm to be used with the key: --alg RSA-OAEP-256
. This option is highly recommended.key:convert:public
except that it will convert all keys in the keyset. It has no effect on shared keys (e.g. oct
keys).key:analyze
except that it will analize all keys in the keyset.keyset:add:key
: Add a key into a key set.keyset:merge
: Merge several key sets into one.keyset:rotate
: Rotate a key set.keyset:load:jku
: Loads a key set from an url.keyset:load:x5u
: Loads a key set from an url.