#[repr(u8)]pub enum CertType {
X509 = 0,
RawPublicKey = 1,
}Expand description
Certificate types for server_certificate_type / client_certificate_type
extension negotiation (RFC 7250 / RFC 9633).
In TLS 1.3 the default is X.509. Raw public keys require explicit
negotiation via the server_certificate_type extension.
Variants§
Implementations§
Trait Implementations§
impl Copy for CertType
impl Eq for CertType
impl StructuralPartialEq for CertType
Auto Trait Implementations§
impl Freeze for CertType
impl RefUnwindSafe for CertType
impl Send for CertType
impl Sync for CertType
impl Unpin for CertType
impl UnsafeUnpin for CertType
impl UnwindSafe for CertType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more