AWS encryption SDK for .net

0

Hi Team, I am working on a POC using AWS Encryption SDK(.net). Please find the use case below -

We are creating an api which will get a code from users(internet). This code needs to be encrypted using public keys provided by us. We will decrypt the Code - then returns a value (which will be encrypted using customers public keys) and customer decrypts the value with their private keys.

Can someone help me to create the poc (We are able to perform encryption and decryption using our on keys - but not sure how to use the public keys for encyption)

Regards, Nidheesh

2 Answers
0

Unfortunately AWS Encryption SDK (ESDK) only supports symmetric encryption use case today. You would need to interact with KMS API directly (e.g., Sign/Verify API) after creating asymmetric key. Another option you can look into is using ESDK to encrypt the data then use HMAC for signing/verifying. However, without knowing your architecture and use case, difficult to say whether it will work for you.

AWS
answered 2 years ago
0

Thank you for the response - below is the use case - First organization(A) will create an Asymmetric Key in AWS KMS. A will share the public key from KMS to Organization B. B will use the public key provided by A and Encrypt the input and Send that to A. A then use AWS KMS Private keys (Encryption SDK) and decrypts the encrypted input.

Regards, Nidheesh

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions