|
|
| Author |
Message |
ektaag
New User
Joined: 21 Mar 2007 Posts: 10 Location: bangalore
|
|
|
|
Hi ,
Can anybody help me for coding Macfee PGP program in jcl for decryption ?
Thanks,
Ekta |
|
| Back to top |
|
 |
References
|
Posted: Tue Jul 08, 2008 2:17 pm Post subject: Re: How to code Macfee PGP program in jcl for decryption ? |
 |
|
|
 |
Moved: Tue Jul 08, 2008 2:58 pm by superk From JCL to Other Mainframe Topics |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3081 Location: Charlotte,NC USA
|
|
|
|
| OK, a dumb question, but doesn't the product come with documentation that shows you how to do what you want? |
|
| Back to top |
|
 |
ektaag
New User
Joined: 21 Mar 2007 Posts: 10 Location: bangalore
|
|
|
|
It is an already existing thing with our system. We have existing programs for encryption but don't know abt the decryption thing. we are using a proc = pgpproc .
but dont know where it is as no library is mention in our existing code.
is it some utility like iebgener or something ??
ekta |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 333 Location: Atlanta, GA
|
|
|
|
McAfee eBusiness Server for OS/390 is McAfee's PGP mainframe product. It is not a utility like IEBGENER as it is not part of z/OS, but a separately purchased package. Code to do decryption:
| Code: |
//IN DD *
--decrypt 'PGMR.RS0.TEST.QINTER.PGP'
--text
--output dd:textout
--passphrase "an offer you can't refuse"
/*
//TEXTOUT DD PATH='/u/tech/ttssrs0/qinter.text',
// PATHOPTS=(OWRONLY,OCREAT),
// PATHMODE=(SIRWXU,SIRWXG,SIRWXO) |
|
|
| Back to top |
|
 |
ektaag
New User
Joined: 21 Mar 2007 Posts: 10 Location: bangalore
|
|
|
|
Thanks.. But can u also specify what is the use of public and private keys and how to specify that in our code ?
Ekta |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 333 Location: Atlanta, GA
|
|
|
|
For public and private keys with McAfee you really need to review the eBusiness Server manual. The code is
| Code: |
//IN DD *
--DECRYPT DD:TEXTIN
--USER 0XBB432A00
--OUTPUT DD:DECOUT |
which does you no good unless you've read the manual and understand how the USER relates to your key rings.
Broadly, the steps are: get public key from other (vendor, customer, ...), add public key to your key ring which generates the USER field, get encrypted message from other and decrypt it using the public key they gave you. |
|
| Back to top |
|
 |
|
|