Discuss this help topic in SecureBlackbox Forum

TElAlgorithmIdentifier.CreateByAlgorithm

TElAlgorithmIdentifier     See also     


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


Creates a descendant of TElAlgorithmIdentifier, corresponding to certain algorithm.

Declaration

[C#]
    static TElAlgorithmIdentifier CreateByAlgorithm(int Algorithm);

[VB.NET]
    Shared Function CreateByAlgorithm(ByVal Algorithm As Integer) As TElAlgorithmIdentifier

[Pascal]
    class function CreateByAlgorithm(Algorithm : integer) : TElAlgorithmIdentifier;

[C++]
    static TElAlgorithmIdentifierHandle CreateByAlgorithm(int32_t Algorithm);

[PHP]
    TElAlgorithmIdentifier CreateByAlgorithm(integer $Algorithm)

[Java]
    static TElAlgorithmIdentifier createByAlgorithm(TElAlgorithmIdentifier> this, int Algorithm);

Parameters

  • Algorithm - specifies the desired algorithm

Possible RSA algorithms:

Possible DSA algorithms:

Possible Diffie-Hellman algorithms:

ECDSA algorithms

GOST algorithms

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. For example, if Algorithm equals to SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION, a new instance of TElRSAAlgorithmIdentifier will be created.

See also:     CreateByAlgorithmOID     CreateFromBuffer     CreateFromTag    

Discuss this help topic in SecureBlackbox Forum