Discuss this help topic in SecureBlackbox Forum


TElSymmetricKeyMaterial     See also     

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

Loads the key and IV from the buffer or stream.


    void Load(byte[] Buffer, int Index, int Size);
    void Load(System.IO.Stream Stream, int Count);

    Sub Load(ByVal Buffer As Byte(), ByVal Index As Integer, ByVal Size As Integer)
    Sub Load(ByVal Stream As System.IO.Stream, ByVal Count As Integer)

    procedure Load(Stream : TStream; Count : integer = 0); override;
    procedure Load(Buffer : pointer; var Size : integer); virtual;

    void Load(void * Buffer, int32_t Size);
    void Load(TStream &Stream, int32_t Count);
    void Load(TStream *Stream, int32_t Count);

    void Load(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void Load(TStream $Stream, integer $Count)


  • Buffer - the buffer with the key and IV.
  • Stream - the stream with the key and IV.
  • Index - the index of the first byte in the buffer from which to start reading.
  • Size - when the method is called, contains the size of the data in the buffer.
    On exit contains the number of bytes, actually used.
  • Count - specifies the number of bytes to be read. If this parameter is zero, the stream from current position till the end is read.
    Default value is 0.


    Use this method to load the key and initial vector from the buffer or stream. The data can be loaded if it was previously saved using Save method.

See also:     Save     Valid    

Discuss this help topic in SecureBlackbox Forum