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 Types§

Required Associated Constants§

source

const NID: Nid

Object Safety§

This trait is not object safe.

Implementors§