Discuss this help topic in SecureBlackbox Forum

TElSymmetricCrypto Constructor

TElSymmetricCrypto     


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


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; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(const AlgOID : ByteArray { array of byte }; Mode : TSBSymmetricCryptoMode; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(Mode : TSBSymmetricCryptoMode; CryptoProvider : TElCustomCryptoProvider = nil);
    constructor Create(Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(AlgID : integer; Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);
    constructor Create(const AlgOID : ByteArray { array of byte }; Mode : TSBSymmetricCryptoMode; Manager : TElCustomCryptoProviderManager; CryptoProvider : TElCustomCryptoProvider);

[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