Discuss this help topic in SecureBlackbox Forum

TElOfficeBinaryDocument.AddSignature

TElOfficeBinaryDocument     See also     


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


Adds signature to the document.

Declaration

[C#]
    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; overload;
    function AddSignature(Handler : TElOfficeBinaryCustomSignatureHandler; OwnHandler : Boolean) : Integer; overload;

[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)

[Java]
    int addSignature(TElOfficeBinaryCustomSignatureHandler Handler, boolean OwnHandler);
    int addSignature(TElOfficeBinaryCustomSignatureHandler Handler);

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