esp_idf_sys

Type Alias mbedtls_x509_buf

Source
pub type mbedtls_x509_buf = mbedtls_asn1_buf;
Expand description

Type-length-value structure that allows for ASN1 using DER.

Aliased Type§

struct mbedtls_x509_buf {
    pub tag: i32,
    pub len: usize,
    pub p: *mut u8,
}

Fields§

§tag: i32

< ASN1 type, e.g. MBEDTLS_ASN1_UTF8_STRING.

§len: usize

< ASN1 length, in octets.

§p: *mut u8

< ASN1 data, e.g. in ASCII.

Trait Implementations

Source§

impl Clone for mbedtls_asn1_buf

Source§

fn clone(&self) -> mbedtls_asn1_buf

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for mbedtls_asn1_buf

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for mbedtls_asn1_buf

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for mbedtls_asn1_buf