Discuss this help topic in SecureBlackbox Forum

TElMessageSigner.CompleteAsyncSign

TElMessageSigner     See also     


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


Completes asynchronous signing.

Declaration

[C#]
    int CompleteAsyncSign(byte[] InBuffer, int InStartIndex, int InSize, ref byte[] OutBuffer, int OutStartIndex, ref int OutSize, TElDCAsyncState AsyncState);
    int CompleteAsyncSign(ref byte[] OutBuffer, int OutStartIndex, ref int OutSize, TElDCAsyncState AsyncState);
    int CompleteAsyncSign(System.IO.Stream InStream, System.IO.Stream OutStream, TElDCAsyncState AsyncState, long InCount);
    int CompleteAsyncSign(System.IO.Stream OutStream, TElDCAsyncState AsyncState);

[VB.NET]
    Function CompleteAsyncSign(ByVal InBuffer As Byte(), ByVal InStartIndex As Integer, ByVal InSize As Integer, ByRef OutBuffer As Byte(), ByVal OutStartIndex As Integer, ByRef OutSize As Integer, ByVal AsyncState As TElDCAsyncState) As Integer
    Function CompleteAsyncSign(ByRef OutBuffer As Byte(), ByVal OutStartIndex As Integer, ByRef OutSize As Integer, ByVal AsyncState As TElDCAsyncState) As Integer
    Function CompleteAsyncSign(ByVal InStream As System.IO.Stream, ByVal OutStream As System.IO.Stream, ByVal AsyncState As TElDCAsyncState, ByVal InCount As Long) As Integer
    Function CompleteAsyncSign(ByVal OutStream As System.IO.Stream, ByVal AsyncState As TElDCAsyncState) As Integer

[Pascal]
    function CompleteAsyncSign(InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer; AsyncState : TElDCAsyncState) : integer;
    function CompleteAsyncSign(InStream, OutStream : TStream; AsyncState : TElDCAsyncState; InCount : int64 = 0) : integer;

[C++]
    int32_t CompleteAsyncSign(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElDCAsyncState &AsyncState);
    int32_t CompleteAsyncSign(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElDCAsyncState *AsyncState);
    int32_t CompleteAsyncSign(void * OutBuffer, int32_t &OutSize, TElDCAsyncState &AsyncState);
    int32_t CompleteAsyncSign(void * OutBuffer, int32_t &OutSize, TElDCAsyncState *AsyncState);
    int32_t CompleteAsyncSign(TStream &InStream, TStream &OutStream, TElDCAsyncState &AsyncState, int64_t InCount);
    int32_t CompleteAsyncSign(TStream *InStream, TStream *OutStream, TElDCAsyncState *AsyncState, int64_t InCount);
    int32_t CompleteAsyncSign(TStream &OutStream, TElDCAsyncState &AsyncState);
    int32_t CompleteAsyncSign(TStream *OutStream, TElDCAsyncState *AsyncState);

[PHP]
    integer CompleteAsyncSign(TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize, TElDCAsyncState $AsyncState)
    integer CompleteAsyncSign(TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize, TElDCAsyncState $AsyncState)
    integer CompleteAsyncSign(TStream $InStream, TStream $OutStream, TElDCAsyncState $AsyncState, integer $InCount)
    integer CompleteAsyncSign(TStream $OutStream, TElDCAsyncState $AsyncState)

[Java]
    int completeAsyncSign(byte[] OutBuffer, int OutStartIndex, TSBInteger OutSize, TElDCAsyncState AsyncState);
    int completeAsyncSign(byte[] InBuffer, int InStartIndex, int InSize, byte[] OutBuffer, int OutStartIndex, TSBInteger OutSize, TElDCAsyncState AsyncState);
    int completeAsyncSign(TElStream OutStream, TElDCAsyncState AsyncState);
    int completeAsyncSign(TElStream InStream, TElStream OutStream, TElDCAsyncState AsyncState, long InCount);

Parameters

  • AsyncState - specifies the operation (state) to be completed.
  • InBuffer - Pointer to the data to be signed
  • InStartIndex - Starting index of the data to be signed in the InBuffer.
  • InSize - Size of input data in bytes
  • OutBuffer - Pointer to the buffer where signed data should be written
  • OutStartIndex - Starting index of the signed data in the OutBuffer.
  • OutSize - Size of OutBuffer in bytes
  • InStream - Stream to be signed.
  • OutStream - Resulting signed stream.
  • InCount - Number of bytes to be read from InStream. If this parameter is 0 the data is read till the end of the stream.
    Default value is 0.

Return value

    Returns 0 if the signing process was completed successfully, and an error code otherwise.

Possible values:

Description

    Call this method to finalize the asynchronous signing process.

See also:     InitiateAsyncSign    

Discuss this help topic in SecureBlackbox Forum