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