100 likes | 246 Views
RSA Laboratories’ PKCS Series - a Tutorial. PKCS #12 Magnus Nyström, October, 1999. Personal Information Exchange Syntax Standard. Describes a transfer syntax for personal identity information private keys certificates etc An extension and generalization of PKCS #8
E N D
RSA Laboratories’ PKCS Series - a Tutorial PKCS #12 Magnus Nyström, October, 1999
Personal Information Exchange Syntax Standard • Describes a transfer syntax for personal identity information • private keys • certificates • etc • An extension and generalization of PKCS #8 • Personal information may be • confidentiality protected and • integrity protected
Personal Information Exchange Syntax Standard, II • For both types of protections, password-based or public-key based protection is possible • Password-based is by far the most common mode
version authSafe macData (optional) The PFX Type • (PFX = Personal inFormation eXchange) • The authSafe is of type data or signedData (from PKCS #7)(usually data) • The contents is, in turn, a SEQUENCE OF ContentInfo (PKCS #7)
bagID bagValue bagAttributes The SafeBag type • Each contentInfo may be enveloped, encrypted or plain data. The plain data will be a SEQUENCE OF SafeBag: • bagID is an OBJECT IDENTIFIER. • bagAttributes is usually some mnemonics or a cross-reference (e.g. key <-> certificate)
Bag types • There are 6 bag types: • key bag • PKCS #8 shrouded key bag • certificate bag • crl bag • secret bag • safe contents bag (recursive)
Bag types, II • The key bag • Contains values of type PrivateKeyInfo (PKCS #8) • Contains just one key • The shrouded key bag • Contains values of type EncryptedPrivateKeyInfo (PKCS #8) • Contains just one key • The certificate bag • Contains X.509 or SDSI certificates • If corresponding private key is in another bag, the shall be cross-referenced with attributes
Bag types, III • The crl bag • Contains X.509 CRLs • The secret bag • Contains various items which the user regards in need of protection • E.g.: passwords, login information • The safe contents bag • Enables recursion
Wither, PKCS #12? • Version 1.0 was not published until June this year, although drafts where out early in 1997 • No plans for revisions, PKCS #15 likely to make PKCS #12 less important • More information: • http://www.rsasecurity.com/rsalabs/pkcs