Trait ToPrivateKey

Source
pub trait ToPrivateKey {
    // Required method
    fn to_private_key(self) -> PrivateKeyDer<'static>;
}

Required Methods§

Source

fn to_private_key(self) -> PrivateKeyDer<'static>

Implementations on Foreign Types§

Source§

impl ToPrivateKey for &Path

Source§

impl ToPrivateKey for &[u8]

Source§

impl ToPrivateKey for PrivateKeyDer<'static>

Source§

impl<const N: usize> ToPrivateKey for &[u8; N]

Implementors§