Expand description
ASN.1 data structures defined by RFC 5652.
The types defined in this module are intended to be extremely low-level
and only to be used for (de)serialization. See types outside the
asn1
module tree for higher-level functionality.
Some RFC 5652 types are defined in the x509-certificate
crate, which
this crate relies on for certificate parsing functionality.
Structs§
- Authenticated
Data - Authenticated data.
- Certificate
Set - Content
Info - Content info.
- Digest
Algorithm Identifiers - Digest algorithm identifiers.
- Digested
Data - Digested data.
- Encapsulated
Content Info - Encapsulated content info.
- Encrypted
Content Info - Encrypted content info.
- Encrypted
Data - Encrypted data.
- Enveloped
Data - Enveloped-data content type.
- Issuer
AndSerial Number - Issuer and serial number.
- KekIdentifier
- Key encryption key identifier.
- KekRecipient
Info - Key encryption key recipient info.
- KeyAgree
Recipient Info - Key agreement recipient info.
- KeyTrans
Recipient Info - Key trans recipient info.
- Originator
Info - Originator info.
- Originator
Public Key - Originator public key.
- Other
Certificate Format - Other certificate format.
- Other
KeyAttribute - Other key attribute.
- Other
Recipient Info - Other
Revocation Info Format - Other revocation info format.
- Password
Recipient Info - Password recipient info.
- Recipient
Encrypted Key - Recipient encrypted key.
- Recipient
KeyIdentifier - Recipient key identifier.
- Revocation
Info Choices - Revocation info choices.
- Signed
Attributes - Signed attributes.
- Signed
Attributes Der - Signed
Data - Represents signed data.
- Signer
Info - Per-signer information.
- Signer
Infos - Signer infos.
- Unsigned
Attributes - Unsigned attributes.
Enums§
- Certificate
Choices - Certificate choices.
- CmsVersion
- Version number.
- KeyAgree
Recipient Identifier - Key agreement recipient identifier.
- Originator
Identifier OrKey - Originator identifier or key.
- Recipient
Identifier - Recipient identifier.
- Recipient
Info - Recipient info.
- Revocation
Info Choice - Revocation info choice.
- Signer
Identifier - Identifies the signer.
- Time
- Time variant.
Constants§
- OID_
AUTHENTICATED_ DATA - Authenticated-data content type.
- OID_
CONTENT_ TYPE - Identifies the content-type attribute.
- OID_
COUNTER_ SIGNATURE - Identifies the countersignature attribute.
- OID_
DIGESTED_ DATA - Digested-data content type.
- OID_
ENCRYPTED_ DATA - Encrypted-data content type.
- OID_
ENVELOPE_ DATA - Enveloped data content type.
- OID_
ID_ DATA - The data content type.
- OID_
ID_ SIGNED_ DATA - The signed-data content type.
- OID_
MESSAGE_ DIGEST - Identifies the message-digest attribute.
- OID_
SIGNING_ TIME - Identifies the signing-time attribute.
Type Aliases§
- Attribute
Certificate V2 - Auth
Attributes - Certificate
Serial Number - Content
Encryption Algorithm Identifier - Content
Type - Counter
Signature - Digest
- Digest
Algorithm Identifier - Encrypted
Content - Encrypted
Key - KeyDerivation
Algorithm Identifier - KeyEncryption
Algorithm Identifier - Message
Authentication Code - Message
Authentication Code Algorithm - Message
Digest - Recipient
Infos - Signature
Algorithm Identifier - Signature
Value - Signing
Time - Unauth
Attributes - Unprotected
Attributes - User
Keying Material