Trait ed25519_dalek::pkcs8::spki::SignatureBitStringEncoding
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§
fn to_bitstring(&self) -> Result<BitString, Error>
fn to_bitstring(&self) -> Result<BitString, Error>
BitString
encoding for this signature.