Discuss this help topic in SecureBlackbox Forum

TElXMLDecryptor.Decrypt

TElXMLDecryptor     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Decrypts the XML data

Declaration

[C#]
    int Decrypt(TElXMLDOMDocument OwnerDocument);

[VB.NET]
    Function Decrypt(ByVal OwnerDocument As TElXMLDOMDocument) As Integer

[Pascal]
    function Decrypt(OwnerDocument : TElXMLDOMDocument) : integer;

[C++]
    int32_t Decrypt(const TElXMLDOMDocument &OwnerDocument);
    int32_t Decrypt(const TElXMLDOMDocument *OwnerDocument);

[PHP]
    integer Decrypt(TElXMLDOMDocument $OwnerDocument)

[Java]
    int decrypt(TElXMLDOMDocument OwnerDocument);

Parameters

  • Document - The XML document which becomes an owner for decrypted XML node or node list
  • OwnerDocument - ...

Description

    Use this method to perform data decryption. This method returns an error code (0 on success). Before calling this method, load the encrypted data using Load method. After successful decryption you can access decrypted data using DecryptedData and optionally using DecryptedNode and DecryptedNodeList (if the encrypted data was an XML node or node list respectively).

    Before calling Decrypt you should specify the key to be used for decryption (set KeyData property). If the encryption key was also encrypted, you need to specify pre-shared secret, needed for key decryption, via KeyEncryptionKeyData property.

See also:     DecryptedData     DecryptedNode     DecryptedNodeList     KeyEncryptionKeyData    

Discuss this help topic in SecureBlackbox Forum