Discuss this help topic in SecureBlackbox Forum

TElGOST2001KeyMaterial.SavePublic

TElGOST2001KeyMaterial     See also     


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


Saves the public part of the key

Declaration

[C#]
    void SavePublic(ref byte[] Buffer, int Index, ref int Size);
    void SavePublic(System.IO.Stream Stream);

[VB.NET]
    Sub SavePublic(ByRef Buffer As Byte(), ByVal Index As Integer, ByRef Size As Integer)
    Sub SavePublic(ByVal Stream As System.IO.Stream)

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

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

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

[Java]
    void savePublic(byte[] Buffer, int Index, TSBInteger Size);

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 public part of the key.

See also:     Q     Load     LoadPublic     LoadSecret     Save     SaveSecret     PublicKey     SecretKey    

Discuss this help topic in SecureBlackbox Forum