1 / 7

Matthew Wood Carl Ellison Intel Corporation 1999 PKCS Workshop, Stockholm, Sweden

Alternate Representations of the Public Key Cryptography Standards (PKCS) Using S-Expressions, S-PKCS. Matthew Wood Carl Ellison Intel Corporation 1999 PKCS Workshop, Stockholm, Sweden. Why Define Data Encodings?. Cross-platform data exchange Persistent storage

avidan
Download Presentation

Matthew Wood Carl Ellison Intel Corporation 1999 PKCS Workshop, Stockholm, Sweden

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Alternate Representations of thePublic Key Cryptography Standards(PKCS) Using S-Expressions, S-PKCS Matthew Wood Carl Ellison Intel Corporation 1999 PKCS Workshop, Stockholm, Sweden

  2. Why Define Data Encodings? • Cross-platform data exchange • Persistent storage • Interoperability of independently implemented modules

  3. Drawbacks of ASN.1 and BER/DER • BER often includes several different, but equally valid encodings of the same data. • Identity of data structures is assumed based on the context where it is found... • within other data structures • position within a higher level structure • Parsing engine is large and complicated

  4. Benefits of S-expressions • Single encoding for any value • Identity of all data structures is explicit • Small, simple parsing engine • Encoded structures are often shorter than their DER encoded versions

  5. Examples: PKCS #1 • <digest-info>(sha1 #F47D…#) • <rsa-public-key>(public-key (rsa (n #…#) (e #010001#) ))

  6. Examples: PKCS #5 • <pbes2-params>(pbes2-params (pkcs5-pbkdf2 (pbkdf2-params (specified #...#) #03E8# (hmac-sha1) ) ) (des-cbc (iv #0123456789ABCDEF#) ))

  7. Questions?

More Related