Discuss this help topic in SecureBlackbox Forum

TElElGamalKeyMaterial.LoadPublic

TElElGamalKeyMaterial     See also     


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


Loads public part of the key.

Declaration

[C#/Java]
    void LoadPublic(byte[] P, int PIndex, int PSize, byte[] G, int GIndex, int GSize, byte[] Y, int YIndex, int YSize);
    void LoadPublic(byte[] Buffer, int Index, int Size);
    void LoadPublic(System.IO.Stream Stream, int Count);

[VB.NET]
    Sub LoadPublic(ByVal P As Byte(), ByVal PIndex As Integer, ByVal PSize As Integer, ByVal G As Byte(), ByVal GIndex As Integer, ByVal GSize As Integer, ByVal Y As Byte(), ByVal YIndex As Integer, ByVal YSize As Integer)
    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(P : pointer; PSize : integer; G : pointer; GSize : integer; Y : pointer; YSize : integer);

[C++]
    void LoadPublic(void * P, int32_t PSize, void * G, int32_t GSize, void * Y, int32_t YSize);

[PHP]
    void LoadPublic(TSBPointer|array of byte|string|NULL $P, integer $PSize, TSBPointer|array of byte|string|NULL $G, integer $GSize, TSBPointer|array of byte|string|NULL $Y, integer $YSize)
    void LoadPublic(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void LoadPublic(TStream $Stream, integer $Count)

Parameters

  • P - ElGamal public key "P" parameter
  • PIndex - Index from which the "P" data starts in the P buffer
  • PSize - Size of the "P" parameter value
  • G - ElGamal public key "G" parameter
  • GIndex - Index from which the "G" data starts in the G buffer
  • GSize - Size of the "G" parameter value
  • Y - ElGamal public key "Y" parameter
  • YIndex - Index from which the "Y" data starts in the Y buffer
  • YSize - Size of the "Y" parameter value
  • Buffer - ...
  • Size - ...
  • Stream - ...
  • Count - ...
  • Index -

Description

    Use this method to load public part of the key.

See also:     LoadSecret    

Discuss this help topic in SecureBlackbox Forum