Struct esp_idf_sys::mbedtls_x509_crt_profile
source · [−]#[repr(C)]pub struct mbedtls_x509_crt_profile {
pub allowed_mds: u32,
pub allowed_pks: u32,
pub allowed_curves: u32,
pub rsa_min_bitlen: u32,
}
Expand description
Security profile for certificate verification.
All lists are bitfields, built by ORing flags from MBEDTLS_X509_ID_FLAG().
Fields
allowed_mds: u32
< MDs for signatures
allowed_pks: u32
< PK algs for public keys; this applies to all certificates in the provided chain.
allowed_curves: u32
< Elliptic curves for ECDSA
rsa_min_bitlen: u32
< Minimum size for RSA keys
Trait Implementations
sourceimpl Clone for mbedtls_x509_crt_profile
impl Clone for mbedtls_x509_crt_profile
sourcefn clone(&self) -> mbedtls_x509_crt_profile
fn clone(&self) -> mbedtls_x509_crt_profile
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mbedtls_x509_crt_profile
impl Debug for mbedtls_x509_crt_profile
sourceimpl Default for mbedtls_x509_crt_profile
impl Default for mbedtls_x509_crt_profile
sourcefn default() -> mbedtls_x509_crt_profile
fn default() -> mbedtls_x509_crt_profile
Returns the “default value” for a type. Read more
impl Copy for mbedtls_x509_crt_profile
Auto Trait Implementations
impl RefUnwindSafe for mbedtls_x509_crt_profile
impl Send for mbedtls_x509_crt_profile
impl Sync for mbedtls_x509_crt_profile
impl Unpin for mbedtls_x509_crt_profile
impl UnwindSafe for mbedtls_x509_crt_profile
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more