Discuss this help topic in SecureBlackbox Forum

TElXMLEncryptor.Encrypt

TElXMLEncryptor     See also     


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


Encrypts the specified XML data

Declaration

[C#/Java]
    void Encrypt(TElXMLDOMNode Data);
    void Encrypt(TElXMLDOMNodeList Data);
    void Encrypt(byte[] Data);

[VB.NET]
    Sub Encrypt(ByVal Data As TElXMLDOMNode)
    Sub Encrypt(ByVal Data As TElXMLDOMNodeList)
    Sub Encrypt(ByVal Data As Byte())

[Pascal]
    procedure Encrypt(Data : TElXMLDOMNode);
    procedure Encrypt(Data : TElXMLDOMNodeList);
    procedure Encrypt(Data : ByteArray);

[C++]
    void Encrypt(const TElXMLDOMNode &Data);
    void Encrypt(const TElXMLDOMNode *Data);
    void Encrypt(const TElXMLDOMNodeList &Data);
    void Encrypt(const TElXMLDOMNodeList *Data);
    void Encrypt(const std::vector<uint8_t> &Data);

[PHP]
    void Encrypt(TElXMLDOMNode $Data)
    void Encrypt(TElXMLDOMNodeList $Data)
    void Encrypt(array of byte|string|NULL $Data)

Parameters

  • Data - The data to be encrypted

Description

    Use this method to perform data encryption. Then call SaveToDocument method to save the encrypted data.

    Before calling Encrypt you should specify the key to be used for encryption (set KeyData property). If you include the key together with encrypted data (see EncryptKey), then you also need to specify KeyEncryptionKeyData and set other properties of TElXMLEncryptor.

See also:     KeyData     KeyEncryptionKeyData     SaveToDocument    

Discuss this help topic in SecureBlackbox Forum