pub struct SubjectPublicKeyInfo {
pub algorithm: AlgorithmIdentifier,
pub subject_public_key: BitString,
}
Expand description
Subject public key info.
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING }
Fields§
§algorithm: AlgorithmIdentifier
§subject_public_key: BitString
Implementations§
Source§impl SubjectPublicKeyInfo
impl SubjectPublicKeyInfo
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S>, ) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
Source§impl Clone for SubjectPublicKeyInfo
impl Clone for SubjectPublicKeyInfo
Source§fn clone(&self) -> SubjectPublicKeyInfo
fn clone(&self) -> SubjectPublicKeyInfo
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 Debug for SubjectPublicKeyInfo
impl Debug for SubjectPublicKeyInfo
Source§impl PartialEq for SubjectPublicKeyInfo
impl PartialEq for SubjectPublicKeyInfo
impl Eq for SubjectPublicKeyInfo
impl StructuralPartialEq for SubjectPublicKeyInfo
Auto Trait Implementations§
impl !Freeze for SubjectPublicKeyInfo
impl RefUnwindSafe for SubjectPublicKeyInfo
impl Send for SubjectPublicKeyInfo
impl Sync for SubjectPublicKeyInfo
impl Unpin for SubjectPublicKeyInfo
impl UnwindSafe for SubjectPublicKeyInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)