Discuss this help topic in SecureBlackbox Forum

TElPublicKeyMaterial.LoadSecret

TElPublicKeyMaterial     See also     


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


Loads secret part of the key

Declaration

[C#]
    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);
    procedure LoadSecret(Stream : TStream; Count : integer = 0);

[C++]
    void LoadSecret(void * Buffer, int32_t Size);
    void LoadSecret(TStream &Stream, int32_t Count);
    void LoadSecret(TStream *Stream, int32_t Count);

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

[Java]
    void loadSecret(byte[] Buffer, int Index, int Size);
    void loadSecret(InputStream Stream, int Count);

Parameters

  • Buffer - the buffer that stores the key material.
  • Index - offset of the key material in the buffer.
  • Size - the length of key material.
  • Stream - the stream from which the key is loaded.
  • Count - number of bytes to be read. If this parameter is zero, the data is read to the end of the stream. Default value is 0.

Description

    Use this method to load secret part of the key.

See also:     Load     LoadPublic     Save     SavePublic     SaveSecret     PublicKey     SecretKey    

Discuss this help topic in SecureBlackbox Forum