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§
pub struct SubjectPublicKeyInfo<'a>(/* private fields */);
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Implementations
Source§impl SubjectPublicKeyInfoDer<'_>
impl SubjectPublicKeyInfoDer<'_>
Sourcepub fn into_owned(self) -> SubjectPublicKeyInfoDer<'static>
Available on crate feature alloc
only.
pub fn into_owned(self) -> SubjectPublicKeyInfoDer<'static>
alloc
only.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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Tests for
self
and other
values to be equal, and is used by ==
.