Discuss this help topic in SecureBlackbox Forum

TElElGamalPublicKeyCrypto.DecodeResult

TElElGamalPublicKeyCrypto     See also     


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


Decodes the two parts of the ElGamal encryption/signing result from a single blob.

Declaration

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

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

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

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

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

Parameters

  • Blob - Resulting blob
  • BlobIndex - Index from which the blob data starts in the Blob buffer
  • BlobSize - Size of the signature blob
  • 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

Description

    Use this method to decode the two parts of the ElGamal encryption/signing result from a single blob.

See also:     EncodeResult    

Discuss this help topic in SecureBlackbox Forum