author | sl |
Tue, 10 Jun 2014 14:32:02 +0200 | |
changeset 1 | 260cb5ec6c19 |
permissions | -rw-r--r-- |
1 // SafeContents
2 // PARAM1: salt
3 // PARAM2: iteration count
4 // PARAM3: cipher_oid
5 // PARAM4: cipher
6 // PARAM5: key
7 // PARAM6: iv
8 // PARAM7: The filename of the DER encoded keyfile
9 // PARAM8: The name of the certificate file
10 // PARAM9: The 'friendly' name of the certificate
11 // SafeBag
12 SEQUENCE
13 OID=PKCS12_BAGTYPES_PKCS8SHROUDEDKEYBAG
14 EXPLICIT
15 // KeyBag
16 SEQUENCE
17 SEQUENCE
18 OID=$3
19 SEQUENCE
20 OCTETSTRING
21 RAW=$1
22 END
23 INTEGER=$2
24 END
25 END
26 OCTETSTRING
27 ENCRYPT=$4,$5,$6
28 INCLUDE_BINARY_FILE=$7
29 END
30 END
31 END
32 END
33 // Attributes
34 SET
35 SEQUENCE
36 OID=PKCS9_LOCAL_KEYID
37 SET
38 OCTETSTRING
39 HASH=sha1
40 INCLUDE_BINARY_FILE=$8
41 END
42 END
43 END
44 END
45 SEQUENCE
46 OID=PKCS9_FRIENDLY_NAME
47 SET
48 BMPSTRING=$9
49 END
50 END
51 END
52 END