logo
pub trait SigningKey: Signer<Signature> {
    fn public_key(&self) -> KeyData;
}
Available on crate feature alloc only.
Expand description

Certificate signing key trait for the certificate Builder.

This trait is automatically impl’d for any types which impl the Signer trait for the OpenSSH certificate Signature type and also support a From conversion for public::KeyData.

Required Methods

Get the public::KeyData for this signing key.

Implementors