Discuss this help topic in SecureBlackbox Forum

TElElGamalKeyMaterial.LoadSecret

TElElGamalKeyMaterial     See also     


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


Loads secret part of the key

Declaration

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

[VB.NET]
    Sub LoadSecret(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, ByVal X As Byte(), ByVal XIndex As Integer, ByVal XSize As Integer)
    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(P : pointer; PSize : integer; G : pointer; GSize : integer; Y : pointer; YSize : integer; X : pointer; XSize : integer);

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

[PHP]
    void LoadSecret(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, TSBPointer|array of byte|string|NULL $X, integer $XSize)
    void LoadSecret(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void LoadSecret(TStream $Stream, integer $Count)

[Java]
    void loadSecret(byte[] P, int PIndex, int PSize, byte[] G, int GIndex, int GSize, byte[] Y, int YIndex, int YSize, byte[] X, int XIndex, int XSize);

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
  • X - ElGamal public key "X" parameter
  • XIndex - Index from which the "X" data starts in the X buffer
  • XSize - Size of the "X" parameter value
  • Buffer - ...
  • Size - ...
  • Stream - ...
  • Count - ...
  • Index -

Description

    Use this method to load secret part of the key.

See also:     LoadPublic    

Discuss this help topic in SecureBlackbox Forum