Type Alias rustls_pki_types::SubjectPublicKeyInfo
source · pub type SubjectPublicKeyInfo<'a> = SubjectPublicKeyInfoDer<'a>;
👎Deprecated since 1.7.0: Prefer
SubjectPublicKeyInfoDer
insteadExpand description
A DER-encoded SubjectPublicKeyInfo (SPKI), as specified in RFC 5280.
Aliased Type§
struct SubjectPublicKeyInfo<'a>(/* private fields */);
Implementations
source§impl SubjectPublicKeyInfoDer<'_>
impl SubjectPublicKeyInfoDer<'_>
sourcepub fn into_owned(self) -> SubjectPublicKeyInfoDer<'static>
pub fn into_owned(self) -> SubjectPublicKeyInfoDer<'static>
Converts this SubjectPublicKeyInfo into its owned variant, unfreezing borrowed content (if any)
Trait Implementations
source§impl AsRef<[u8]> for SubjectPublicKeyInfoDer<'_>
impl AsRef<[u8]> for SubjectPublicKeyInfoDer<'_>
source§impl<'a> Clone for SubjectPublicKeyInfoDer<'a>
impl<'a> Clone for SubjectPublicKeyInfoDer<'a>
source§fn clone(&self) -> 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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SubjectPublicKeyInfoDer<'a>
impl<'a> Debug for SubjectPublicKeyInfoDer<'a>
source§impl Deref for SubjectPublicKeyInfoDer<'_>
impl Deref for SubjectPublicKeyInfoDer<'_>
source§impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>
impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>
source§impl<'a> PartialEq for SubjectPublicKeyInfoDer<'a>
impl<'a> PartialEq for SubjectPublicKeyInfoDer<'a>
source§fn eq(&self, other: &SubjectPublicKeyInfoDer<'a>) -> bool
fn eq(&self, other: &SubjectPublicKeyInfoDer<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.