Discuss this help topic in SecureBlackbox Forum

TElCMSMessage.CreateNew

TElCMSMessage     See also     


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


This method creates a new CMS message.

Declaration

[C#]
    void CreateNew(System.IO.Stream DataStream, long Offset, long Size);
    void CreateNew(byte[] Buffer, int StartIndex, int Size);

[VB.NET]
    Sub CreateNew(ByVal DataStream As System.IO.Stream, ByVal Offset As Long, ByVal Size As Long)
    Sub CreateNew(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Size As Integer)

[Pascal]
    procedure CreateNew(DataStream : TStream; Offset : Int64; Size : Int64);
    procedure CreateNew(Buffer : pointer; Size : integer);

[C++]
    void CreateNew(TStream &DataStream, int64_t Offset, int64_t Size);
    void CreateNew(TStream *DataStream, int64_t Offset, int64_t Size);
    void CreateNew(void * Buffer, int32_t Size);

[PHP]
    void CreateNew(TStream $DataStream, integer $Offset, integer $Size)
    void CreateNew(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

[Java]
    void createNew(byte[] Buffer, int StartIndex, int Size);
    void createNew(TElStream DataStream, long Offset, long Size);

Parameters

  • DataStream - stream with message content
  • Offset - index of the first byte of message content data in DataStream
  • Size - size of the message content (number of bytes to be read from DataStream)
  • Buffer - buffer with with message content
  • StartIndex - index of the first byte of message content data in Buffer

Description

    Use this method to create a CMS message and load its content from stream or buffer.

See also:     Open     Save    

Discuss this help topic in SecureBlackbox Forum