Expand description
The CMS EnvelopedData wrapper a DPAPI-NG blob is packaged in.
Layout, as Windows writes it for a KDS-protected secret:
ContentInfo
├─ contentType 1.2.840.113549.1.7.3 (envelopedData)
└─ [0] EnvelopedData
├─ version
├─ recipientInfos SET { [2] KEKRecipientInfo }
│ ├─ kekid → the MS-GKDI KEY_IDENTIFIER (which root key, which tree node)
│ └─ encryptedKey → the content key, AES-wrapped under the KEK
└─ encryptedContentInfo
├─ contentEncryptionAlgorithm AES-256-GCM + nonce
└─ [0] encryptedContentStructs§
- Protected
Blob - A parsed DPAPI-NG blob, ready to decrypt once the KEK is known.
Constants§
- OID_
AES256_ GCM aes256-GCM- OID_
AES256_ WRAP aes256-wrap- OID_
ENVELOPED_ DATA id-envelopedData