Skip to main content

SignatureBitStringEncoding

Trait SignatureBitStringEncoding 

Source
pub trait SignatureBitStringEncoding {
    // Required method
    fn to_bitstring(&self) -> Result<BitString, Error>;
}
Available on crate features alloc and pkcs8 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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§