CryptoManager.Encrypt
Syntax variant: Data in return value
Syntax:
Parameters:
<SourceData> (required)
Source dara for encryption.
Data can be located in a file (in this case the name of file is specified) or represented as BinaryData.
<Recipients> (required)
The parameter can contain one certificate or an array of certificate objects.
Only recipients from the specified list (the recipients who have transferred certificates) will be able to decrypt the data using their private keys.
Description of method variant:
Syntax variant: Save data to a file
Syntax:
Parameters:
<SourceData> (required)
Source data for encryption.
Data can be located in a file (in this case the name of file is specified) or represented as BinaryData.
<OutputData> (required)
Name of file, to which the encrypted data is downloaded.
<Recipients> (required)
The parameter can contain one certificate or an array of certificates.
Only recipients from the specified list (the recipients who have transferred certificates) will be able to decrypt the data using their private keys.
Description of method variant:
Returned value:
Description:
The format of encrypted data is PKCS#7.
Uses the algorithm, specified in property EncryptAlgorithm.
Availability:
See also: