Enum pkix::cms::SignedData
source · pub enum SignedData {
SignedDataV3(SignedDataV3),
}
Variants§
SignedDataV3(SignedDataV3)
Implementations§
source§impl SignedData
impl SignedData
pub fn get_type(&self) -> CMSVersion
Trait Implementations§
source§impl BERDecodable for SignedData
impl BERDecodable for SignedData
source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
source§impl Clone for SignedData
impl Clone for SignedData
source§fn clone(&self) -> SignedData
fn clone(&self) -> SignedData
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 SignedData
impl Debug for SignedData
source§impl From<SignedData> for ContentInfo
impl From<SignedData> for ContentInfo
source§fn from(var: SignedData) -> ContentInfo
fn from(var: SignedData) -> ContentInfo
Converts to this type from the input type.
source§impl From<SignedData> for EncapsulatedContentInfo
impl From<SignedData> for EncapsulatedContentInfo
source§fn from(var: SignedData) -> EncapsulatedContentInfo
fn from(var: SignedData) -> EncapsulatedContentInfo
Converts to this type from the input type.
source§impl From<SignedDataV3> for SignedData
impl From<SignedDataV3> for SignedData
source§fn from(var: SignedDataV3) -> SignedData
fn from(var: SignedDataV3) -> SignedData
Converts to this type from the input type.
source§impl Hash for SignedData
impl Hash for SignedData
source§impl PartialEq for SignedData
impl PartialEq for SignedData
source§fn eq(&self, other: &SignedData) -> bool
fn eq(&self, other: &SignedData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SignedData
impl StructuralEq for SignedData
impl StructuralPartialEq for SignedData
Auto Trait Implementations§
impl RefUnwindSafe for SignedData
impl Send for SignedData
impl Sync for SignedData
impl Unpin for SignedData
impl UnwindSafe for SignedData
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