Filter: C++  Pascal  C#  VB.NET  Java  Java ME  ActiveX  DLL 


AESEncryption     See also    

Sets a key for use when encrypting data for specified remote side.


    void SetKey( char* Remote, DynArray* Key, DynArray* IV );

    procedure SetKey( Remote : string; Key : ByteArray; IV : ByteArray );

    Sub SetKey(Remote As String, Key, IV)

    HRESULT _stdcall SetKey( [in] BSTR Remote, [in] SAFEARRAY(byte) Key, [in] SAFEARRAY(byte) IV);

    public void SetKey ( string Remote, Byte[] Key, Byte[] IV);

    Public Sub SetKey( ByVal Remote As String, ByVal Key As Byte(), ByVal IV As Byte())

    public void setKey ( String remote, byte[] key, byte[] iv);

[Java ME]
    public void SetKey ( String remote, byte[] key, byte[] iv);

    void __stdcall IPCAESEncryptionSetKey(HIPCAESEncryption h, char* Remote, void* key, long KeyLength);


  • [DLL]h - handle to the AESEncryption object that was returned by Create method
  • Remote - The address and port of remote side as specified when sending the message in the form <address>:<port>
  • Key - Encryption key. The length of the key can be 16, 24 or 32 bytes
  • IV - Initialization Vector (IV)
  • KeyLength - Length of the memory block pointed by Key


    Use this method to specify the key for encryption/decryption of the message. Remote is the address and port of the message destination as specified in the call to SendMessage*/PostMessage method. Use empty value for remote to set the default key (the one that is used when the key for given destination is not found).

See also:     Create