| 1427 | # RFC3852 sect 5.1 |
| 1428 | |
| 1429 | class CMS_SignedData(ASN1_Packet): |
| 1430 | ASN1_codec = ASN1_Codecs.BER |
| 1431 | ASN1_root = ASN1F_SEQUENCE( |
| 1432 | CMSVersion("version", 1), |
| 1433 | ASN1F_SET_OF("digestAlgorithms", [], X509_AlgorithmIdentifier), |
| 1434 | ASN1F_PACKET("encapContentInfo", CMS_EncapsulatedContentInfo(), |
| 1435 | CMS_EncapsulatedContentInfo), |
| 1436 | ASN1F_optional( |
| 1437 | ASN1F_SET_OF( |
| 1438 | "certificates", |
| 1439 | None, |
| 1440 | CMS_CertificateChoices, |
| 1441 | implicit_tag=0xA0, |
| 1442 | ) |
| 1443 | ), |
| 1444 | ASN1F_optional( |
| 1445 | ASN1F_SET_OF( |
| 1446 | "crls", |
| 1447 | None, |
| 1448 | CMS_RevocationInfoChoice, |
| 1449 | implicit_tag=0xA1, |
| 1450 | ) |
| 1451 | ), |
| 1452 | ASN1F_SET_OF( |
| 1453 | "signerInfos", |
| 1454 | [], |
| 1455 | CMS_SignerInfo, |
| 1456 | ), |
| 1457 | ) |
| 1458 | |
| 1459 | |
| 1460 | # RFC3852 sect 6.2.1 |
no test coverage detected
searching dependent graphs…