type

Key

src const mixin Key

Key defines the api for a cryptographic key.

methods

algorithm

The key's algorithm.

encoded

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

format

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

Slot Details

algorithm

src abstract Str algorithm()

The key's algorithm.

encoded

src abstract Buf? encoded()

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

format

src abstract Str? format()

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