Discuss this help topic in SecureBlackbox Forum

TElAlgorithmIdentifier.CreateByAlgorithmOID

TElAlgorithmIdentifier     See also     


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


Creates a descendant of TElAlgorithmIdentifier, corresponding to certain algorithm OID.

Declaration

[C#]
    static TElAlgorithmIdentifier CreateByAlgorithmOID(byte[] OID);

[VB.NET]
    Shared Function CreateByAlgorithmOID(ByVal OID As Byte()) As TElAlgorithmIdentifier

[Pascal]
    class function CreateByAlgorithmOID(const OID : ByteArray) : TElAlgorithmIdentifier;

[C++]
    static TElAlgorithmIdentifierHandle CreateByAlgorithmOID(const std::vector<uint8_t> &OID);

[PHP]
    TElAlgorithmIdentifier CreateByAlgorithmOID(array of byte|string|NULL $OID)

[Java]
    static TElAlgorithmIdentifier createByAlgorithmOID(TElAlgorithmIdentifier> this, byte[] OID);

Parameters

  • OID - algorithm OID

Possible RSA algorithms OIDs

Possible DSA algorithms OIDs

Possible Diffie-Hellman algorithms OIDs

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 OID equals to SB_OID_SHA1_RSAENCRYPTION, a new instance of TElRSAAlgorithmIdentifier will be created.

See also:     CreateByAlgorithm     CreateFromBuffer     CreateFromTag    

Discuss this help topic in SecureBlackbox Forum