Struct cryptographic_message_syntax::asn1::rfc5652::AuthenticatedData [−][src]
pub struct AuthenticatedData { pub version: CmsVersion, pub originator_info: Option<OriginatorInfo>, pub recipient_infos: RecipientInfos, pub mac_algorithm: MessageAuthenticationCodeAlgorithm, pub digest_algorithm: Option<DigestAlgorithmIdentifier>, pub content_info: EncapsulatedContentInfo, pub authenticated_attributes: Option<AuthAttributes>, pub mac: MessageAuthenticationCode, pub unauthenticated_attributes: Option<UnauthAttributes>, }
Authenticated data.
AuthenticatedData ::= SEQUENCE {
version CMSVersion,
originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
recipientInfos RecipientInfos,
macAlgorithm MessageAuthenticationCodeAlgorithm,
digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
encapContentInfo EncapsulatedContentInfo,
authAttrs [2] IMPLICIT AuthAttributes OPTIONAL,
mac MessageAuthenticationCode,
unauthAttrs [3] IMPLICIT UnauthAttributes OPTIONAL }
Fields
version: CmsVersion
originator_info: Option<OriginatorInfo>
recipient_infos: RecipientInfos
mac_algorithm: MessageAuthenticationCodeAlgorithm
digest_algorithm: Option<DigestAlgorithmIdentifier>
content_info: EncapsulatedContentInfo
authenticated_attributes: Option<AuthAttributes>
mac: MessageAuthenticationCode
unauthenticated_attributes: Option<UnauthAttributes>
Trait Implementations
impl Clone for AuthenticatedData
[src]
impl Clone for AuthenticatedData
[src]fn clone(&self) -> AuthenticatedData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for AuthenticatedData
[src]
impl Eq for AuthenticatedData
[src]impl PartialEq<AuthenticatedData> for AuthenticatedData
[src]
impl PartialEq<AuthenticatedData> for AuthenticatedData
[src]fn eq(&self, other: &AuthenticatedData) -> bool
[src]
fn ne(&self, other: &AuthenticatedData) -> bool
[src]
impl StructuralEq for AuthenticatedData
[src]
impl StructuralEq for AuthenticatedData
[src]Auto Trait Implementations
impl RefUnwindSafe for AuthenticatedData
impl RefUnwindSafe for AuthenticatedData
impl Send for AuthenticatedData
impl Send for AuthenticatedData
impl Sync for AuthenticatedData
impl Sync for AuthenticatedData
impl Unpin for AuthenticatedData
impl Unpin for AuthenticatedData
impl UnwindSafe for AuthenticatedData
impl UnwindSafe for AuthenticatedData
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]