Struct cryptographic_message_syntax::asn1::rfc5652::SignedData [−][src]
pub struct SignedData { pub version: CmsVersion, pub digest_algorithms: DigestAlgorithmIdentifiers, pub content_info: EncapsulatedContentInfo, pub certificates: Option<CertificateSet>, pub crls: Option<RevocationInfoChoices>, pub signer_infos: SignerInfos, }
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: CmsVersion
digest_algorithms: DigestAlgorithmIdentifiers
content_info: EncapsulatedContentInfo
certificates: Option<CertificateSet>
crls: Option<RevocationInfoChoices>
signer_infos: SignerInfos
Implementations
impl SignedData
[src]
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]
impl Clone for SignedData
[src]fn clone(&self) -> SignedData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for SignedData
[src]
impl Eq for SignedData
[src]impl PartialEq<SignedData> 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 StructuralEq for SignedData
[src]impl StructuralPartialEq for SignedData
[src]
impl StructuralPartialEq for SignedData
[src]impl TryFrom<&'_ SignedData> for SignedData
[src]
impl TryFrom<&'_ SignedData> for SignedData
[src]Auto Trait Implementations
impl RefUnwindSafe for SignedData
impl RefUnwindSafe for SignedData
impl Send for SignedData
impl Send for SignedData
impl Sync for SignedData
impl Sync for SignedData
impl Unpin for SignedData
impl Unpin for SignedData
impl UnwindSafe for SignedData
impl UnwindSafe for SignedData
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]