Download presentation
Presentation is loading. Please wait.
Published byShreya Pentecost Modified over 10 years ago
1
Alternate Representations of the Public Key Cryptography Standards (PKCS) Using S-Expressions, S-PKCS Matthew WoodCarl Ellison Intel Corporation 1999 PKCS Workshop, Stockholm, Sweden
2
Why Define Data Encodings? 4 Cross-platform data exchange 4 Persistent storage 4 Interoperability of independently implemented modules
3
Drawbacks of ASN.1 and BER/DER 4 BER often includes several different, but equally valid encodings of the same data. 4 Identity of data structures is assumed based on the context where it is found... –within other data structures –position within a higher level structure 4 Parsing engine is large and complicated
4
Benefits of S-expressions 4 Single encoding for any value 4 Identity of all data structures is explicit 4 Small, simple parsing engine 4 Encoded structures are often shorter than their DER encoded versions
5
Examples: PKCS #1 4 (sha1 #F47D…#) 4 (public-key (rsa (n #…#) (e #010001#) ) )
6
Examples: PKCS #5 4 (pbes2-params (pkcs5-pbkdf2 (pbkdf2-params (specified #...#) #03E8# (hmac-sha1) ) ) (des-cbc (iv #0123456789ABCDEF#) ) )
7
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.