Click or drag to resize
weroSoft AG, Software
IValueEncryptionEncrypt Method (String, ListCertificate)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Encrypt a value of type System.String.

Namespace:  WeroSoft.Security
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0
Syntax
C#
string Encrypt(
	string value,
	List<Certificate> certificates
)

Parameters

value
Type: SystemString
Value to encrypt.
certificates
Type: System.Collections.GenericListCertificate
List of certificates which are installed under a given certificate usage programming key name.

Return Value

Type: String
Encrypted string of value.
Remarks
If the certificates value is null, then the legacy cryptographic mode is used.
See Also