GitHub

API reference for DirKey.

An imported dir (A256GCM) secret (Effect's SecretKey<"dir">).

Attributes

AttributeTypeDescription
algorithmLiteral['dir']
kidstr | None
keyaead.Key[Any]
tagLiteral['SecretKey'] = 'SecretKey'

Functions

__init__

__init__(algorithm, kid, key) -> None
ParameterTypeDescription
algorithmLiteral['dir']
kidstr | None
keyaead.Key[Any]