x509_cert::request::attributes

Trait AsAttribute

source
pub trait AsAttribute:
    AssociatedOid
    + Tagged
    + EncodeValue
    + Sized {
    // Provided method
    fn to_attribute(&self) -> Result<Attribute> { ... }
}
Expand description

Trait to be implement by request attributes

Provided Methods§

source

fn to_attribute(&self) -> Result<Attribute>

Returns the Attribute with the content encoded.

Object Safety§

This trait is not object safe.

Implementors§