Discuss this help topic in SecureBlackbox Forum

TElElGamalPublicKeyCrypto.EncodeResult

TElElGamalPublicKeyCrypto     See also     


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


Encodes the results of the ElGamal encryption/signing into a single blob.

Declaration

[C#]
    void EncodeResult(byte[] A, int AIndex, int ASize, byte[] B, int BIndex, int BSize, ref byte[] Blob, int BlobIndex, ref int BlobSize);

[VB.NET]
    Sub EncodeResult(ByVal A As Byte(), ByVal AIndex As Integer, ByVal ASize As Integer, ByVal B As Byte(), ByVal BIndex As Integer, ByVal BSize As Integer, ByRef Blob As Byte(), ByVal BlobIndex As Integer, ByRef BlobSize As Integer)

[Pascal]
    procedure EncodeResult(A: pointer; ASize: integer; B: pointer; BSize: integer; Blob: pointer; BlobSize: integer);

[C++]
    void EncodeResult(void * A, int32_t ASize, void * B, int32_t BSize, void * Blob, int32_t &BlobSize);

[PHP]
    void EncodeResult(TSBPointer|array of byte|string|NULL $A, integer $ASize, TSBPointer|array of byte|string|NULL $B, integer $BSize, TSBPointer|array of byte|string|NULL $Blob, integer &$BlobSize)

[Java]
    void encodeResult(byte[] A, int AIndex, int ASize, byte[] B, int BIndex, int BSize, byte[][] Blob, int BlobIndex, int[] BlobSize);

Parameters

  • A - The first part of the ElGamal encryption/signing result ("A")
  • AIndex - Index from which the "A" data starts in the A buffer
  • ASize - Size of the "A" parameter value
  • B - The second part of the ElGamal encryption/signing result ("B")
  • BIndex - Index from which the "B" data starts in the B buffer
  • BSize - Size of the "B" parameter value
  • Blob - Resulting blob
  • BlobIndex - Index from which the blob data starts in the Blob buffer
  • BlobSize - Size of the signature blob

Description

    Use this method to encode ElGamal encryption/signing result into a single buffer.

See also:     DecodeResult    

Discuss this help topic in SecureBlackbox Forum