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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§