Struct cryptographic_message_syntax::asn1::rfc5652::SignedData [−][src]
Represents signed data.
ASN.1 type specification:
SignedData ::= SEQUENCE {
version CMSVersion,
digestAlgorithms DigestAlgorithmIdentifiers,
encapContentInfo EncapsulatedContentInfo,
certificates [0] IMPLICIT CertificateSet OPTIONAL,
crls [1] IMPLICIT RevocationInfoChoices OPTIONAL,
signerInfos SignerInfos }
Fields
version: CmsVersiondigest_algorithms: DigestAlgorithmIdentifierscontent_info: EncapsulatedContentInfocertificates: Option<CertificateSet>crls: Option<RevocationInfoChoices>signer_infos: SignerInfosImplementations
impl SignedData[src]
pub fn decode_ber(data: &[u8]) -> Result<Self, Error>[src]
Attempt to decode BER encoded bytes to a parsed data structure.
pub fn decode<S: Source>(cons: &mut Constructed<'_, S>) -> Result<Self, S::Err>[src]
pub fn take_from<S: Source>(
cons: &mut Constructed<'_, S>
) -> Result<Self, S::Err>[src]
cons: &mut Constructed<'_, S>
) -> Result<Self, S::Err>
pub fn encode_ref(&self) -> impl Values + '_[src]
Trait Implementations
impl Clone for SignedData[src]
fn clone(&self) -> SignedData[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SignedData[src]
impl Eq for SignedData[src]
impl PartialEq<SignedData> for SignedData[src]
fn eq(&self, other: &SignedData) -> bool[src]
fn ne(&self, other: &SignedData) -> bool[src]
impl StructuralEq for SignedData[src]
impl StructuralPartialEq for SignedData[src]
impl TryFrom<&'_ SignedData> for SignedData[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,