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 */);
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 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 more