Discuss this help topic in SecureBlackbox Forum

TElAlgorithmIdentifier.CreateFromBuffer

TElAlgorithmIdentifier     See also     


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


Creates a descendant of TElAlgorithmIdentifier, corresponding to certain algorithm.

Declaration

[C#]
    static TElAlgorithmIdentifier CreateFromBuffer(byte[] Buffer);

[VB.NET]
    Shared Function CreateFromBuffer(ByVal Buffer As Byte()) As TElAlgorithmIdentifier

[Pascal]
    class function CreateFromBuffer(Buffer : pointer; Size : integer) : TElAlgorithmIdentifier;

[C++]
    static TElAlgorithmIdentifierHandle CreateFromBuffer(void * Buffer, int32_t Size);

[PHP]
    TElAlgorithmIdentifier CreateFromBuffer(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)

[Java]
    static TElAlgorithmIdentifier createFromBuffer(TElAlgorithmIdentifier> this, byte[] Buffer);

Parameters

  • Buffer - buffer containing ANS.1 tag with algorithm OID
  • Size - size of the buffer in bytes

Return value

    Returns a reference to the newly created descendant of TElAlgorithmIdentifier.

Description

    Call this method to create an algorithm identifier container, which is necessary to store data for certain algorithm.

See also:     CreateFromTag     CreateByAlgorithm     CreateByAlgorithmOID     LoadFromBuffer    

Discuss this help topic in SecureBlackbox Forum