Discuss this help topic in SecureBlackbox Forum


TElPublicKeyCrypto     See also     

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

Creates a detached signature over input data.


    void SignDetached(byte[] InBuffer, int InIndex, int InSize, ref byte[] OutBuffer, int OutIndex, ref int OutSize);
    void SignDetached(System.IO.Stream InStream, System.IO.Stream OutStream, int Count);

    Sub SignDetached(ByVal InBuffer As Byte(), ByVal InIndex As Integer, ByVal InSize As Integer, ByRef OutBuffer As Byte(), ByVal OutIndex As Integer, ByRef OutSize As Integer)
    Sub SignDetached(ByVal InStream As System.IO.Stream, ByVal OutStream As System.IO.Stream, ByVal Count As Integer)

    procedure SignDetached(InBuffer: pointer; InSize: integer; OutBuffer: pointer; var OutSize: integer);
    procedure SignDetached(InStream, OutStream : TStream; Count : integer = 0);

    void SignDetached(void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize);
    void SignDetached(TStream &InStream, TStream &OutStream, int32_t Count);
    void SignDetached(TStream *InStream, TStream *OutStream, int32_t Count);

    void SignDetached(TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize)
    void SignDetached(TStream $InStream, TStream $OutStream, integer $Count)

    void signDetached(InputStream InStream, OutputStream OutStream, int Count);
    int signDetached(byte[] InBuffer, int InIndex, int InSize, byte[] OutBuffer, int OutIndex, int OutSize);


  • InBuffer - data buffer to sign
  • InIndex - offset of actual data from the beginning of the array
  • InSize - size of input data in bytes
  • OutBuffer - buffer where to put signed data
  • OutIndex - output buffer start offset
  • OutSize - the maximal expected size of output data in bytes
  • InStream - the stream with data to sign.
  • OutStream - the stream for signed data.
  • Count - the number of bytes to be read. If this parameter is zero, the whole stream is processed.
    Default value is 0.


    This method creates a detached signature over input data. The original data are not included to the signature (output data). Remember that you should transfer a detached signature (output data) along with original data.

See also:     Encrypt     Decrypt     Sign     Verify     VerifyDetached    

Discuss this help topic in SecureBlackbox Forum