7 IMPORTS ContentInfo FROM cms
8 DigestInfo FROM rfc2459
9 heim_any, heim_any_set FROM heim;
13 id-pkcs-12 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
14 rsadsi(113549) pkcs(1) pkcs-12(12) }
16 id-pkcs-12PbeIds OBJECT IDENTIFIER ::= { id-pkcs-12 1}
17 id-pbeWithSHAAnd128BitRC4 OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 1}
18 id-pbeWithSHAAnd40BitRC4 OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 2}
19 id-pbeWithSHAAnd3-KeyTripleDES-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 3}
20 id-pbeWithSHAAnd2-KeyTripleDES-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 4}
21 id-pbeWithSHAAnd128BitRC2-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 5}
22 id-pbewithSHAAnd40BitRC2-CBC OBJECT IDENTIFIER ::= { id-pkcs-12PbeIds 6}
24 id-pkcs12-bagtypes OBJECT IDENTIFIER ::= { id-pkcs-12 10 1}
26 id-pkcs12-keyBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 1 }
27 id-pkcs12-pkcs8ShroudedKeyBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 2 }
28 id-pkcs12-certBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 3 }
29 id-pkcs12-crlBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 4 }
30 id-pkcs12-secretBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 5 }
31 id-pkcs12-safeContentsBag OBJECT IDENTIFIER ::= { id-pkcs12-bagtypes 6 }
34 PKCS12-MacData ::= SEQUENCE {
37 iterations INTEGER OPTIONAL
40 PKCS12-PFX ::= SEQUENCE {
43 macData PKCS12-MacData OPTIONAL
46 PKCS12-AuthenticatedSafe ::= SEQUENCE OF ContentInfo
47 -- Data if unencrypted
48 -- EncryptedData if password-encrypted
49 -- EnvelopedData if public key-encrypted
51 PKCS12-Attribute ::= SEQUENCE {
52 attrId OBJECT IDENTIFIER,
53 attrValues -- SET OF -- heim_any_set
56 PKCS12-Attributes ::= SET OF PKCS12-Attribute
58 PKCS12-SafeBag ::= SEQUENCE {
59 bagId OBJECT IDENTIFIER,
60 bagValue [0] heim_any,
61 bagAttributes PKCS12-Attributes OPTIONAL
64 PKCS12-SafeContents ::= SEQUENCE OF PKCS12-SafeBag
66 PKCS12-CertBag ::= SEQUENCE {
67 certType OBJECT IDENTIFIER,
68 certValue [0] heim_any
71 PKCS12-PBEParams ::= SEQUENCE {
73 iterations INTEGER (0..4294967295) OPTIONAL
76 PKCS12-OctetString ::= OCTET STRING
78 -- KeyBag ::= PrivateKeyInfo
79 -- PKCS8ShroudedKeyBag ::= EncryptedPrivateKeyInfo