rama::tls::rustls::dep::pki_types

Type Alias SubjectPublicKeyInfo

pub type SubjectPublicKeyInfo<'a> = SubjectPublicKeyInfoDer<'a>;
👎Deprecated since 1.7.0: Prefer SubjectPublicKeyInfoDer instead
Expand description

A DER-encoded SubjectPublicKeyInfo (SPKI), as specified in RFC 5280.

Aliased Type§

struct SubjectPublicKeyInfo<'a>(/* private fields */);

Implementations

§

impl SubjectPublicKeyInfoDer<'_>

pub fn into_owned(self) -> SubjectPublicKeyInfoDer<'static>

Converts this SubjectPublicKeyInfo into its owned variant, unfreezing borrowed content (if any)

Trait Implementations

§

impl AsRef<[u8]> for SubjectPublicKeyInfoDer<'_>

§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<'a> Clone for SubjectPublicKeyInfoDer<'a>

§

fn clone(&self) -> SubjectPublicKeyInfoDer<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
§

impl<'a> Debug for SubjectPublicKeyInfoDer<'a>

§

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

Formats the value using the given formatter. Read more
§

impl Deref for SubjectPublicKeyInfoDer<'_>

§

type Target = [u8]

The resulting type after dereferencing.
§

fn deref(&self) -> &<SubjectPublicKeyInfoDer<'_> as Deref>::Target

Dereferences the value.
§

impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>

§

fn from(slice: &'a [u8]) -> SubjectPublicKeyInfoDer<'a>

Converts to this type from the input type.
§

impl From<Vec<u8>> for SubjectPublicKeyInfoDer<'_>

§

fn from(vec: Vec<u8>) -> SubjectPublicKeyInfoDer<'_>

Converts to this type from the input type.
§

impl<'a> PartialEq for SubjectPublicKeyInfoDer<'a>

§

fn eq(&self, other: &SubjectPublicKeyInfoDer<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl<'a> Eq for SubjectPublicKeyInfoDer<'a>

§

impl<'a> StructuralPartialEq for SubjectPublicKeyInfoDer<'a>