Discuss this help topic in SecureBlackbox Forum

TElAlgorithmIdentifier.SaveToBuffer

TElAlgorithmIdentifier     See also     


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


Saves algorithm identifier data to memory buffer.

Declaration

[C#]
    void SaveToBuffer(ref byte[] Buffer, ref int Size);

[VB.NET]
    Sub SaveToBuffer(ByRef Buffer As Byte(), ByRef Size As Integer)

[Pascal]
    procedure SaveToBuffer(Buffer : pointer; var Size : integer); virtual;

[C++]
    void SaveToBuffer(void * Buffer, int32_t &Size);

[PHP]
    void SaveToBuffer(TSBPointer|array of byte|string|NULL $Buffer, integer &$Size)

[Java]
    byte[] saveToBuffer();
    void saveToBuffer(byte[][] Buffer, int[] Size);

Parameters

  • Buffer - memory buffer where the data should be saved.
  • Size - size of the buffer in bytes.

Description

    Use this method to save algorithm identifier data to buffer. To save only algorithm parameters, use WriteParameters method.

See also:     LoadFromBuffer     SaveToTag     WriteParameters    

Discuss this help topic in SecureBlackbox Forum