mixin

Key

const mixin Key

Key defines the api for a cryptographic key.

methods format

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

algorithm

The key's algorithm

encoded

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

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.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST