Location: Symbol Reference > Classes > TJwEncryptData Class > TJwEncryptData Methods > TJwEncryptData.DecryptPointer Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwEncryptData.DecryptPointer Method
Pascal
class procedure DecryptPointer(const P: Pointer; const Size: Cardinal; const Entropy: PDataBlob; out Data: TJwGetMemBlob);
Parameters 
Description 
const P: Pointer 
Defines a pointer which must be decrypted.  
const Size: Cardinal 
Defines how much data of P must be decrypted. Do specify exactly the amount of allocated memory of P. Otherwise the memory which is beyond the given Size can become overwritten by the decrypted data.  
const Entropy: PDataBlob 
Defines additional data to be used to decrypt the data. The same Entropy must be specified to the encryption method EncryptPointerWithPrompt. Can be nil to use no entropy.  
out Data: TJwGetMemBlob 
[out]. This parameter receives the decrypted data. The data can be freed using FreeMem on its Data member . 

DecryptPointer is like DecryptPointerWithPrompt but does not use a user interface. The data is also checked for manipulation.

Exceptions 
Description 
EjwsclCryptApiException 
if an underlying API function failed.
TJwEncryptData 
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!