Discuss this help topic in SecureBlackbox Forum

TElPublicKeyCrypto Constructor

TElPublicKeyCrypto     


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


This method creates the instance of TElPublicKeyCrypto class

Declaration

[C#/Java]
    TElPublicKeyCrypto(byte[] OID, TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto(int Alg, TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto(TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto(byte[] OID, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto(int Alg, TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto(TElCustomCryptoProviderManager Manager, TElCustomCryptoProvider CryptoProvider);
    TElPublicKeyCrypto();

[VB.NET]
    Sub New(ByVal OID As Byte(), ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Alg As Integer, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal OID As Byte(), ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Alg As Integer, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New()

[Pascal]
    constructor Create(Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); virtual;
    constructor Create(Alg : integer; CryptoProvider : TElCustomCryptoProvider); virtual;
    constructor Create(const OID : ByteArray; CryptoProvider : TElCustomCryptoProvider); virtual;
    constructor Create(Alg : integer; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); virtual;
    constructor Create(const OID : ByteArray; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); virtual;

[C++]
    not available

[PHP]
    not available

Parameters

  • OID - RSA algorithm OID
  • Alg - RSA algorithm
  • Manager - Cryptographic provider manager to be used
  • CryptoProvider - Cryptographic provider to be used for hashing

Possible RSA algorithms:


Possible RSA algorithms OIDs


Possible DSA algorithms:


Possible DSA algorithms OIDs


Description

    Use this method to create the instance of TElPublicKeyCrypto class.

Discuss this help topic in SecureBlackbox Forum