Discuss this help topic in SecureBlackbox Forum
Encrypts the block of data
Declaration
Parameters
- InBuffer - Reference to the data to encrypt.
- InStartIndex - Starting index of the data to be encrypted in the InBuffer.
- InSize - Size of the input data in bytes.
- OutBuffer - Reference to the buffer where encrypted data should be stored.
- OutStartIndex - Starting index of the encrypted data in the OutBuffer.
- OutSize - Size of the OutBuffer in bytes.
- InStream - Stream to be encrypted.
- OutStream - Resulting encrypted stream.
- Key - Symmetric key for data encryption.
- KeySize - Size of the Key.
- InCount - Number of bytes to be read from InStream. If this parameter is 0 the data is read till the end of the stream.
Default value is 0.
Return value
0 if the encryption process was completed successfully, and an error code otherwise.
Possible values:
Description
Use this method to encrypt blocks of data. Block of data is encrypted using each certificate from
CertStorage and
may be decrypted with any of that certificates. After the method is executed, OutSize parameter contains the number of bytes, written to the OutBuffer. If the buffer was too small, then the necessary size is put to OutSize.
Discuss this help topic in SecureBlackbox Forum