- Index
- »
- fan.crypto
- »
- Key
Key
const mixin Key
Key defines the api for a cryptographic key.
Get the encoding format of the key, or null if the key doesn't support encoding
The key's algorithm
Get the encoded key, or null if the key doesn't support encoding
abstract Str algorithm()
The key's algorithm.
abstract Buf? encoded()
Get the encoded key, or null if the key doesn't support encoding.
abstract Str? format()
Get the encoding format of the key, or null if the key doesn't support encoding.