Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCryptoServices::initSessionKeyToEncryptData Method
Syntax
C++
virtual bool initSessionKeyToEncryptData(const OdBinaryData& passwordAsBinaryData, OdUInt32 nProvType, const OdString& provName, OdUInt32 nAlgId, OdUInt32 nKeyLength) = 0;

Initializes a session key structures to encrypt/decrypt data using key derived from password. 

 

Parameters
Description
passwordAsBinaryData
[in] password as binary data.
nProvType
[in] crypto provider type.
provName
[in] crypto provider name.
nAlgId
[in] algorithm identifier.
nKeyLength
[in] key length.

Returns true if success, otherwise returns false.

Copyright © 2002-2022. Open Design Alliance All rights reserved.