Discuss this help topic in SecureBlackbox Forum

TElGOST2001KeyMaterial.SaveSecret

TElGOST2001KeyMaterial     See also     


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


Saves the secret part of the key.

Declaration

[C#/Java]
    void SaveSecret(ref byte[] Buffer, int Index, ref int Size);

[VB.NET]
    Sub SaveSecret(ByRef Buffer As Byte(), ByVal Index As Integer, ByRef Size As Integer)

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

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

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

Parameters

  • Buffer - the buffer where key material should be saved.
  • Index - the offset of the key material in the buffer.
  • Size - the length of the buffer where to save the key. When the method returns, Size parameter contains the number of bytes written, or, if the buffer is too small, the required size of the buffer.
  • Stream - ...

Description

    Use this method to save the secret part of the key.

See also:     D     Load     LoadPublic     LoadSecret     Save     SavePublic     PublicKey     SecretKey    

Discuss this help topic in SecureBlackbox Forum