Discuss this help topic in SecureBlackbox Forum

TElPublicKeyMaterial.LoadPublic

TElPublicKeyMaterial     See also     


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


Loads public part of the key

Declaration

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

[VB.NET]
    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)

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

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

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

Parameters

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

Description

    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