cancel
Showing results for 
Search instead for 
Did you mean: 

Encryption and Digital Signature

Former Member
0 Kudos

I am trying to understand the PGP Encryption along with Digital Signature.(Please help me, I am totally lost, thanks)

CASE 1

When I send an encrypted File to my Business Partner

-


gpg -e "Publickey1" "PrivateKey1" .

Note

Publickey1 is to encrypt the file (Its provided by my business partner)

here Privatekey1 is used to do the Digital signature (Created by our company)

CASE 2

When I receive an Encrypted file from my Business Partner

-


While doing the DECRYPTION

GPG -d "Privatekey1" "PublicKey2"

Privatekey1 : used to decrypt the file(in case 1 it was used to create the digital signature)

PublicKey2 : Used to verify the digital signature (Provided by our business partner)

Now my question here whether the Same key(PrivateKey1) is used for Digital Signature (while sending the file - Case 1) and also to do the Decryption (Case 2) ?

Whether my understanding is correct?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any help please. I am not looking for any links, but what I am trying to understand is, whether the above Pseudo code make any sense?

Thanks

Former Member
0 Kudos

Legends would some one help me please. Appreciated.

Former Member
0 Kudos

Hi,

Can you refer to these blogs,,, may be useful for you...

Encryption(SSL)

/people/varadharajan.krishnasamy/blog/2007/05/11/how-to-use-digital-certificates-for-signing-encrypting-messages-in-xi

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2e7020d-0d01-0010-269c-a98...

Examples for Using Digital Signatures

http://help.sap.com/saphelp_nw04s/helpdata/en/a4/d0201854fb6a4cb9545892b49d4851/frameset.htm

Regards,

Kumar

Former Member
0 Kudos

Thanks Kumar. I have enough documents with me, but unable to understand the Pseudocode what I have written.

Thanks for your helping hands.