Is it possible to decrypt the EncryptByCert-encrypted data that is stored in a SQL Server column from within .net?
I want to use EncryptByCert in a stored procedure to store a value RSA-encrpyted in a column. Then a client application will connect to SQL Server and request the encoded data and then needs to decode with the private key of the certificate. Is this possible?
I don't have a profound knowledge of encryption. That's why I ask this question. Maybe there is a good example for doing this?