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

preguntada hace 2 años353 visualizaciones
2 Respuestas
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
respondido hace 2 años
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

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas