pub trait SSHCertificateSigner {
    // Required method
    fn sign(&self, buffer: &[u8]) -> Option<Vec<u8>>;
}
Expand description

Types that implement this trait can be used to sign SSH certificates using the Certificate::sign function.

Required Methods§

source

fn sign(&self, buffer: &[u8]) -> Option<Vec<u8>>

This function is called when signing an SSH certificate.

Implementors§