Discuss this help topic in SecureBlackbox Forum

TElSymmetricCrypto Constructor

TElSymmetricCrypto     


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


This method creates an instance of TElSymmetricCrypto class.

Declaration

[VB.NET]
    Sub New()
    Sub New(ByVal AlgID As Integer, ByVal Mode As TSBSymmetricCryptoMode, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal AlgOID As Byte(), ByVal Mode As TSBSymmetricCryptoMode, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Mode As TSBSymmetricCryptoMode, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal AlgID As Integer, ByVal Mode As TSBSymmetricCryptoMode, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal AlgOID As Byte(), ByVal Mode As TSBSymmetricCryptoMode, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal Mode As TSBSymmetricCryptoMode, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal AlgID As Integer, ByVal MacAlgID As Integer, ByVal Mode As TSBSymmetricCryptoMode, ByVal CryptoProvider As TElCustomCryptoProvider)
    Sub New(ByVal AlgID As Integer, ByVal MacAlgID As Integer, ByVal Mode As TSBSymmetricCryptoMode, ByVal Manager As TElCustomCryptoProviderManager, ByVal CryptoProvider As TElCustomCryptoProvider)

[Pascal]
    constructor Create(AlgID : integer; Mode : TSBSymmetricCryptoMode = cmDefault; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(const AlgOID : ByteArray; Mode : TSBSymmetricCryptoMode = cmDefault; CryptoProvider : TElCustomCryptoProvider = nil); overload; virtual;
    constructor Create(Mode : TSBSymmetricCryptoMode = cmDefault; CryptoProvider : TElCustomCryptoProvider = nil); overload; virtual;
    constructor Create(AlgID : integer; Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); overload; virtual;
    constructor Create(const AlgOID : ByteArray; Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); overload; virtual;
    constructor Create(Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); overload; virtual;
    constructor Create(AlgID : integer; MacAlgID : integer; Mode : TSBSymmetricCryptoMode = cmDefault; CryptoProvider : TElCustomCryptoProvider = nil); overload; virtual;
    constructor Create(AlgID : integer; MacAlgID : integer; Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider); overload; virtual;

[C++]
    not available

[PHP]
    not available

Parameters

  • AlgID - specifies algorithm identifier.
  • AlgOID - specifies algorithm OID.
  • Mode - encryption or decryption mode.
  • Manager - cryptographic provider manager to be used.
  • CryptoProvider - cryptographic provider to be used for hashing.
  • MacAlgID -

Algorithm identifier values:

Encryption and decryption modes:

Description

    Use this method to create an instance of TElSymmetricCrypto class.

Discuss this help topic in SecureBlackbox Forum