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개 답변
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
답변함 2년 전
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

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠