Discuss this help topic in SecureBlackbox Forum

TElOfficeBinaryDocument.AddSignature

TElOfficeBinaryDocument     See also     


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


Adds signature to the document.

Declaration

[C#/Java]
    int AddSignature(TElOfficeBinaryCustomSignatureHandler Handler);
    int AddSignature(TElOfficeBinaryCustomSignatureHandler Handler, bool OwnHandler);

[VB.NET]
    Function AddSignature(ByVal Handler As TElOfficeBinaryCustomSignatureHandler) As Integer
    Function AddSignature(ByVal Handler As TElOfficeBinaryCustomSignatureHandler, ByVal OwnHandler As Boolean) As Integer

[Pascal]
    function AddSignature(Handler : TElOfficeBinaryCustomSignatureHandler) : integer;
    function AddSignature(Handler : TElOfficeBinaryCustomSignatureHandler; OwnHandler : boolean) : integer;

[C++]
    int32_t AddSignature(TElOfficeBinaryCustomSignatureHandler &Handler);
    int32_t AddSignature(TElOfficeBinaryCustomSignatureHandler *Handler);
    int32_t AddSignature(TElOfficeBinaryCustomSignatureHandler &Handler, bool OwnHandler);
    int32_t AddSignature(TElOfficeBinaryCustomSignatureHandler *Handler, bool OwnHandler);

[PHP]
    integer AddSignature(TElOfficeBinaryCustomSignatureHandler $Handler)
    integer AddSignature(TElOfficeBinaryCustomSignatureHandler $Handler, bool $OwnHandler)

Parameters

  • Handler - security handler to be used for signing
  • OwnHandler - specifies if the security handler is owned by the document. If this parameter is False or omitted, user should take care of handler object disposal.

Return value

    Returns number of the newly added security handler in the list.

Description

    Use this method to add signature to the document.

See also:     RemoveSignature     Signable     SignatureHandlers    

Discuss this help topic in SecureBlackbox Forum