openssl::x509

Trait ExtensionType

source
pub unsafe trait ExtensionType {
    type Output: ForeignType;

    const NID: Nid;
}
Expand description

A type of X509 extension.

§Safety

The value of NID and Output must match those in OpenSSL so that Output::from_ptr_opt(*_get_ext_d2i(*, NID, ...)) is valid.

Required Associated Constants§

source

const NID: Nid

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementors§