2.2.11.2.5 Protection Key Attributes

The Protection Key Attributes structure is used to store some metadata about how a key pair is cryptographically wrapped as part of the Exported Key Pair structure (section 2.2.11.2.6). It is a structure in ASN.1 format, encoded using DER encoding as specified in [X690]. The ASN.1 definition for this structure is as follows.

 microsoft OBJECT IDENTIFIER ::= { iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 311 }
 msKeyProtection OBJECT IDENTIFIER := { microsoft 74 }
 protectionInfo OBJECT IDENTIFIER ::= { msKeyProtection 1 }
 sidProtected OBJECT IDENTIFIER ::= { protectionInfo 1 }
 sidName UTF8 STRING ::= "SID"
 ProtectionKeyAttribute ::= SEQUENCE {
     protectionInfo OBJECT IDENTIFIER,
     SEQUENCE SIZE (1) {
         sidProtected OBJECT IDENTIFIER,
         SEQUENCE SIZE (1) {
             SEQUENCE SIZE (1) {
                 SEQUENCE SIZE (1) {
                     sidName UTF8 STRING,
                     sidString UTF8 STRING
                 }
             }
         }
     }
 }