JoobQ::Encryption::Keys
Inherits Reference < Object
The configured keys: the current one (seals) and the old ones (open only).
Constructors
new(keys : Hash(String, Bytes), current_id : String)
Sourceparse(entries : Array(String), source : String = "payload keys") : Keys
entries is a list of id:key texts, the first one current.
parse(text : String, source : String = "payload keys") : Keys
SourceClass methods
from_env
SourceInstance methods
[](id : String) : Bytes | Nil
Sourcecurrent_id
Sourceids
Source