Keyset
in package
Helper class for Using Tsugi's internal global outgoing keyset
Table of Contents
Properties
- $apc_expire : mixed
- $apc_ttl : mixed
- $key_rotate_days : mixed
- $verbose : mixed
Methods
- build_jwk() : mixed
- getCurrentKeys() : mixed
- getSigning() : mixed
- maintain() : mixed
Properties
$apc_expire
public
static mixed
$apc_expire
= 5 * 60
$apc_ttl
public
static mixed
$apc_ttl
= 10 * 60
$key_rotate_days
public
static mixed
$key_rotate_days
= 30
$verbose
public
static mixed
$verbose
= false
Methods
build_jwk()
public
static build_jwk(mixed $pubkey) : mixed
Parameters
- $pubkey : mixed
getCurrentKeys()
public
static getCurrentKeys() : mixed
getSigning()
public
static getSigning(mixed &$privkey, mixed &$kid) : mixed
Parameters
- $privkey : mixed
- $kid : mixed
maintain()
public
static maintain() : mixed