Discuss this help topic in SecureBlackbox Forum

TElGOST2001KeyMaterial.LoadSecret

TElGOST2001KeyMaterial     See also     


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


Loads the secret part of the key.

Declaration

[C#/Java]
    void LoadSecret(byte[] Buffer, int Index, int Size);
    void LoadSecret(System.IO.Stream Stream, int Count);

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

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

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

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

Parameters

  • Buffer - the buffer containing the key material.
  • Index - the offset of the key material in the buffer.
  • Size - the length of key material in bytes.
  • Stream - ...
  • Count - ...

Description

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

See also:     D     Load     LoadPublic     Save     SavePublic     SaveSecret     PublicKey     SecretKey    

Discuss this help topic in SecureBlackbox Forum