const mixin crypto::Key

crypto::Key

Source

Key defines the api for a cryptographic key.

algorithm

abstract Str algorithm()

Source

The key's algorithm.

encoded

abstract Buf? encoded()

Source

Get the encoded key, or null if the key doesn't support encoding.

format

abstract Str? format()

Source

Get the encoding format of the key, or null if the key doesn't support encoding.