Discuss this help topic in SecureBlackbox Forum

TElCMSMessage.Open

TElCMSMessage     See also     


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


This method opens an existing CMS message.

Declaration

[C#/Java]
    void Open(System.IO.Stream CMSStream, System.IO.Stream DataStream, long CMSCount, long DataCount);

[VB.NET]
    Sub Open(ByVal CMSStream As System.IO.Stream, ByVal DataStream As System.IO.Stream, ByVal CMSCount As Long, ByVal DataCount As Long)

[Pascal]
    procedure Open(CMSStream : TStream; DataStream : TStream; CMSCount : Int64 = 0; DataCount : Int64 = 0);

[C++]
    void Open(TStream &CMSStream, TStream &DataStream, int64_t CMSCount, int64_t DataCount);
    void Open(TStream *CMSStream, TStream *DataStream, int64_t CMSCount, int64_t DataCount);

[PHP]
    void Open(TStream $CMSStream, TStream $DataStream, integer $CMSCount, integer $DataCount)

Parameters

  • DataStream - stream with message content
  • CMSStream - stream with CMS code
  • CMSCount - number of bytes to be read from CMSStream. If the value is 0, the data will be read till the end of the stream.
  • DataCount - number of bytes to be read from DataStream. If the value is 0, the data will be read till the end of the stream.

Description

    Use this method to open a CMS message and load its content from the corresponding streams.

See also:     Close     CreateNew    

Discuss this help topic in SecureBlackbox Forum