| 1460 | # RFC3852 sect 6.2.1 |
| 1461 | |
| 1462 | class CMS_KeyTransRecipientInfo(ASN1_Packet): |
| 1463 | ASN1_codec = ASN1_Codecs.BER |
| 1464 | ASN1_root = ASN1F_SEQUENCE( |
| 1465 | CMSVersion("version", 0), |
| 1466 | ASN1F_CHOICE( |
| 1467 | "rid", |
| 1468 | CMS_IssuerAndSerialNumber(), |
| 1469 | ASN1F_PACKET("rid", CMS_IssuerAndSerialNumber(), |
| 1470 | CMS_IssuerAndSerialNumber), |
| 1471 | ASN1F_PACKET("rid", CMS_SubjectKeyIdentifier(), |
| 1472 | CMS_SubjectKeyIdentifier, |
| 1473 | implicit_tag=0x80), |
| 1474 | ), |
| 1475 | ASN1F_PACKET("keyEncryptionAlgorithm", |
| 1476 | X509_AlgorithmIdentifier(), |
| 1477 | X509_AlgorithmIdentifier), |
| 1478 | ASN1F_STRING("encryptedKey", ""), |
| 1479 | ) |
| 1480 | |
| 1481 | |
| 1482 | # RFC3852 sect 6.2.2 |
no test coverage detected