Discuss this help topic in SecureBlackbox Forum

TElDSAKeyMaterial.SaveSecret

TElDSAKeyMaterial     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);
    void SaveSecret(System.IO.Stream Stream);

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

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

[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 - Start offset of the key material in buffer
  • Size - the length of the buffer where to save the key material. When the method returns, Size parameter contains the number of bytes actually written, or, if the buffer was too small, the size of the buffer enough to hold the data.
  • Stream - ...

Description

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

See also:     Load     LoadSecret     Save    

Discuss this help topic in SecureBlackbox Forum