Xceed Encryption Library Documentation
EncryptionMethod property
Xceed Encryption control reference > Properties > EncryptionMethod property

Description

The EncryptionMethod property allows you to specify or find out which encryption algorithm the library will use to encrypt or decrypt data. To specify the algorithm you must instantiate and assign an Encryption Method object to this property. If you read the contents of the property, you will obtain an instance of an Encryption Method object.

Data type

An Encryption Method object

Possible values 

Values Description
XceedRijndaelEncryptionMethod object  Use the Rijndael secret-key encryption algorithm.
XceedTwofishEncryptionMethod object  Use the Twofish secret-key encryption algorithm.
XceedRSAEncryptionMethod object  Use the RSA public-key encryption algorithm.

Default value

An instance of the XceedRijndaelEncryptionMethod object

Remarks

This property cannot be set during the encryption or decryption process.

Applicable methods

Encrypt, Decrypt, ReadFile, WriteFile and ProcessFile