EncryptionUtility Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the encryption utility.
public sealed class EncryptionUtility
type EncryptionUtility = class
Public NotInheritable Class EncryptionUtility
- Inheritance
-
EncryptionUtility
Constructors
EncryptionUtility() |
Instantiates a new EncryptionUtility class. |
Methods
DecryptText(String) |
Decrypt a text string encrypted by EncryptText methods of EncryptionUtility, it is assumed that the store location of decryption certificate is LocalMachine. |
DecryptText(String, StoreLocation) |
Decrypt a text string encrypted by EncryptText methods of EncryptionUtility. |
DecryptValue(String) |
Obsolete.
Decrypts string values that were encrypted by calling EncryptValue. This method is deprecated; EncryptText method should be used instead. |
EncryptText(String, String, String) |
Encrypt text string with an installed X509 certificate. Certificate store location is LocalMachine and the encryption algorithm is AES256 CBC. |
EncryptText(String, String, String, StoreLocation, String) |
Encrypt text string with an installed X509 certificate. |
EncryptTextByCertFile(String, String, String) |
Encrypt text string with an X509 certificate in a file. |
EncryptValue(String, String, String) |
Obsolete.
Encrypts string value using specified certificate. This method is deprecated; EncryptText method should be used instead. |
Applies to
Azure SDK for .NET