const mixin crypto::Key

crypto::Key

Key defines the api for a cryptographic key.

algorithm

abstract Str algorithm()

The key's algorithm.

encoded

abstract Buf? encoded()

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

format

abstract Str? format()

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