Discuss this help topic in SecureBlackbox Forum


TElPublicKeyMaterial     See also     

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

Loads secret part of the key


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

    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)

    procedure LoadSecret(Buffer: pointer; Size: integer);
    procedure LoadSecret(Stream : TStream; Count : integer = 0);

    void LoadSecret(void * Buffer, int32_t Size);
    void LoadSecret(TStream &Stream, int32_t Count);
    void LoadSecret(TStream *Stream, int32_t Count);

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

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


  • 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.


    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