Struct SubjectPublicKeyInfoDer
pub struct SubjectPublicKeyInfoDer<'a>(/* private field */);
A DER-encoded SubjectPublicKeyInfo (SPKI), as specified in RFC 5280.
Public keys are identified in PEM context as a PUBLIC KEY.
#
Implementations
impl SubjectPublicKeyInfoDer<'_>
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]
impl Deref for SubjectPublicKeyInfoDer<'_>
type Target = [u8];fn deref(&self) -> &Self::Target
impl From<Vec<u8>> for SubjectPublicKeyInfoDer<'_>
fn from(vec: Vec<u8>) -> Self
impl<'a> Clone for SubjectPublicKeyInfoDer<'a>
fn clone(&self) -> SubjectPublicKeyInfoDer<'a>
impl<'a> Debug for SubjectPublicKeyInfoDer<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a> Eq for SubjectPublicKeyInfoDer<'a>
impl<'a> From<&'a [u8]> for SubjectPublicKeyInfoDer<'a>
fn from(slice: &'a [u8]) -> Self
impl<'a> Hash for SubjectPublicKeyInfoDer<'a>
fn hash<__H: Hasher>(&self, state: &mut __H)
impl<'a> PartialEq for SubjectPublicKeyInfoDer<'a>
fn eq(&self, other: &SubjectPublicKeyInfoDer<'a>) -> bool
impl<'a> StructuralPartialEq for SubjectPublicKeyInfoDer<'a>
Auto Trait Implementations
impl<'a> Freeze for SubjectPublicKeyInfoDer<'a>
impl<'a> RefUnwindSafe for SubjectPublicKeyInfoDer<'a>
impl<'a> Send for SubjectPublicKeyInfoDer<'a>
impl<'a> Sync for SubjectPublicKeyInfoDer<'a>
impl<'a> Unpin for SubjectPublicKeyInfoDer<'a>
impl<'a> UnsafeUnpin for SubjectPublicKeyInfoDer<'a>
impl<'a> UnwindSafe for SubjectPublicKeyInfoDer<'a>
Blanket Implementations
impl<P, T> Receiver for SubjectPublicKeyInfoDer<'a>
where
P: Deref<Target = T> + ?Sized,
T: ?Sized,
type Target = T;
impl<T> Any for SubjectPublicKeyInfoDer<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SubjectPublicKeyInfoDer<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SubjectPublicKeyInfoDer<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for SubjectPublicKeyInfoDer<'a>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for SubjectPublicKeyInfoDer<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> PemObject for SubjectPublicKeyInfoDer<'a>
where
T: PemObjectFilter + From<Vec<u8>>,
fn from_pem(kind: SectionKind, der: Vec<u8>) -> Option<T>
impl<T> ToOwned for SubjectPublicKeyInfoDer<'a>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for SubjectPublicKeyInfoDer<'a>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SubjectPublicKeyInfoDer<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for SubjectPublicKeyInfoDer<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>