Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
PKCS #1 Formats z/OS Cryptographic Services ICSF Application Programmer's Guide SA22-7522-16 |
|
Version 2.0 of the PKCS #1 standard 4 defines methods for formatting keys and hashes prior to RSA encryption of the resulting data structures. The lower versions of the PKCS #1 standard defined block types 0, 1, and 2, but in the current standard that terminology is dropped. ICSF implemented these processes using the terminology of the Version 2.0 standard:
Using the terminology from older versions of the PKCS #1 standard, block types 0 and 1 are used to format a hash and block type 2 is used to format a DES key. The blocks consist of (|| means concatenation): X'00' || BT || PS || X'00' D where:
You can create the BER encoding of an MD5 or SHA-1 value by prepending these strings to the 16 or 20-byte hash values, respectively: MD5 X'3020300C 06082A86 4886F70D 02050500 0410'
SHA-1 X'30213009 06052B0E 03021A05 000414' 4.
PKCS standards can be
retrieved from http://www.rsasecurity.com/rsalabs/pkcs. 5.
The PKA 92 method and
the method incorporated into the SET standard are other examples of
the Optimal Asymmetric Encryption Padding (OAEP) technique. The OAEP
technique is attributed to Bellare and Rogaway.
|
Copyright IBM Corporation 1990, 2014
|