Skip to main content

SignatureBitStringEncoding

Trait SignatureBitStringEncoding 

Source
pub trait SignatureBitStringEncoding {
    // Required method
    fn to_bitstring(&self) -> Result<BitString, Error>;
}
Available on crate features pkcs8 and alloc only.
Expand description

Returns the BitString encoding of the signature.

X.509 and CSR structures require signatures to be BitString encoded.

Required Methods§

Source

fn to_bitstring(&self) -> Result<BitString, Error>

BitString encoding for this signature.

§Errors

Returns errors specific to the concrete type which impls this trait.

Implementors§