Type Alias SubjectPublicKeyInfo
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
§impl SubjectPublicKeyInfoDer<'_>
impl SubjectPublicKeyInfoDer<'_>
pub 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
§impl AsRef<[u8]> for SubjectPublicKeyInfoDer<'_>
impl AsRef<[u8]> for SubjectPublicKeyInfoDer<'_>
§impl<'a> Clone for SubjectPublicKeyInfoDer<'a>
impl<'a> Clone for SubjectPublicKeyInfoDer<'a>
§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§impl<'a> Debug for SubjectPublicKeyInfoDer<'a>
impl<'a> Debug for SubjectPublicKeyInfoDer<'a>
§impl Deref for SubjectPublicKeyInfoDer<'_>
impl Deref for SubjectPublicKeyInfoDer<'_>
§impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>
impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>
§fn from(slice: &'a [u8]) -> SubjectPublicKeyInfoDer<'a>
fn from(slice: &'a [u8]) -> SubjectPublicKeyInfoDer<'a>
Converts to this type from the input type.
§impl From<Vec<u8>> for SubjectPublicKeyInfoDer<'_>
impl From<Vec<u8>> for SubjectPublicKeyInfoDer<'_>
§fn from(vec: Vec<u8>) -> SubjectPublicKeyInfoDer<'_>
fn from(vec: Vec<u8>) -> SubjectPublicKeyInfoDer<'_>
Converts to this type from the input type.