type
Key
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
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.