function Decrypt(const Data: TBytes): TBytes;



Use the Decrypt method to decrypt data using the private key associated with the certificate. The function returns the source data passed to the Encrypt method.

If the certificate key is not private (Key.IsPrivate = False), an exception will be raised.


Note: If the Ready property is False, the certificate will be automatically loaded.


See also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support