Discuss this help topic in SecureBlackbox Forum


TElPublicKeyMaterial     See also     

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

Loads public part of the key


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

    Sub LoadPublic(ByVal Buffer As Byte(), ByVal Index As Integer, ByVal Size As Integer)
    Sub LoadPublic(ByVal Stream As System.IO.Stream, ByVal Count As Integer)

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

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

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

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


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


    Use this method to load public part of the key.

See also:     Load     LoadSecret     Save     SavePublic     SaveSecret     PublicKey     SecretKey    

Discuss this help topic in SecureBlackbox Forum