pub trait SigningKey {
    fn alg(&self) -> &'static str;
    fn sign(&self, v: &[u8]) -> Result<SmallVec<[u8; 64]>>;

    fn kid(&self) -> Option<&str> { ... }
}

Required Methods

Provided Methods

Optional key id. If it is present, then it is automatically set in header claims.

Implementors