Discuss this help topic in SecureBlackbox Forum

TElCustomCryptoProvider.Encrypt

TElCustomCryptoProvider     See also     


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


This topic is under development…

Declaration

[C#/Java]
    void Encrypt(int Algorithm, int Mode, TElCustomCryptoKey Key, byte[] InBuffer, int InStartIndex, int InSize, ref byte[] OutBuffer, int OutStartIndex, ref int OutSize, TElCPParameters Params, TSBProgressFunc ProgressFunc, Object ProgressData);
    void Encrypt(byte[] AlgOID, byte[] AlgParams, int Mode, TElCustomCryptoKey Key, byte[] InBuffer, int InStartIndex, int InSize, ref byte[] OutBuffer, int OutStartIndex, ref int OutSize, TElCPParameters Params, TSBProgressFunc ProgressFunc, Object ProgressData);

[VB.NET]
    Sub Encrypt(ByVal Algorithm As Integer, ByVal Mode As Integer, ByVal Key As TElCustomCryptoKey, ByVal InBuffer As Byte(), ByVal InStartIndex As Integer, ByVal InSize As Integer, ByRef OutBuffer As Byte(), ByVal OutStartIndex As Integer, ByRef OutSize As Integer, ByVal Params As TElCPParameters, ByVal ProgressFunc As TSBProgressFunc, ByVal ProgressData As Object)
    Sub Encrypt(ByVal AlgOID As Byte(), ByVal AlgParams As Byte(), ByVal Mode As Integer, ByVal Key As TElCustomCryptoKey, ByVal InBuffer As Byte(), ByVal InStartIndex As Integer, ByVal InSize As Integer, ByRef OutBuffer As Byte(), ByVal OutStartIndex As Integer, ByRef OutSize As Integer, ByVal Params As TElCPParameters, ByVal ProgressFunc As TSBProgressFunc, ByVal ProgressData As Object)

[Pascal]
    procedure Encrypt(Algorithm : integer; Mode : integer; Key : TElCustomCryptoKey; InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer; Params : TElRelativeDistinguishedName = nil; ProgressFunc : TSBProgressFunc = nil; ProgressData : pointer = nil); overload; virtual;
    procedure Encrypt(const AlgOID, AlgParams : ByteArray; Mode : integer; Key : TElCustomCryptoKey; InBuffer : pointer; InSize : integer; OutBuffer : pointer; var OutSize : integer; Params : TElRelativeDistinguishedName = nil; ProgressFunc : TSBProgressFunc = nil; ProgressData : pointer = nil); overload; virtual;

[C++]
    void Encrypt(int32_t Algorithm, int32_t Mode, TElCustomCryptoKey &Key, void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElRelativeDistinguishedName &Params, TSBProgressFunc pMethodProgressFunc, void * pDataProgressFunc, void * ProgressData);
    void Encrypt(int32_t Algorithm, int32_t Mode, TElCustomCryptoKey *Key, void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElRelativeDistinguishedName *Params, TSBProgressFunc pMethodProgressFunc, void * pDataProgressFunc, void * ProgressData);
    void Encrypt(const std::vector<uint8_t> &AlgOID, const std::vector<uint8_t> &AlgParams, int32_t Mode, TElCustomCryptoKey &Key, void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElRelativeDistinguishedName &Params, TSBProgressFunc pMethodProgressFunc, void * pDataProgressFunc, void * ProgressData);
    void Encrypt(const std::vector<uint8_t> &AlgOID, const std::vector<uint8_t> &AlgParams, int32_t Mode, TElCustomCryptoKey *Key, void * InBuffer, int32_t InSize, void * OutBuffer, int32_t &OutSize, TElRelativeDistinguishedName *Params, TSBProgressFunc pMethodProgressFunc, void * pDataProgressFunc, void * ProgressData);

[PHP]
    void Encrypt(integer $Algorithm, integer $Mode, TElCustomCryptoKey $Key, TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize, TElRelativeDistinguishedName $Params, TSBProgressFunc|callable|NULL $ProgressFunc, TSBPointer|array of byte|string|NULL $ProgressData)
    void Encrypt(array of byte|string|NULL $AlgOID, array of byte|string|NULL $AlgParams, integer $Mode, TElCustomCryptoKey $Key, TSBPointer|array of byte|string|NULL $InBuffer, integer $InSize, TSBPointer|array of byte|string|NULL $OutBuffer, integer &$OutSize, TElRelativeDistinguishedName $Params, TSBProgressFunc|callable|NULL $ProgressFunc, TSBPointer|array of byte|string|NULL $ProgressData)

Parameters

  • Algorithm -
  • Mode -
  • Key -
  • InBuffer -
  • InStartIndex -
  • InSize -
  • OutBuffer -
  • OutStartIndex -
  • OutSize -
  • Params -
  • ProgressFunc -
  • ProgressData -
  • AlgOID -
  • AlgParams -
  • pMethodProgressFunc -
  • pDataProgressFunc -

Description

    …

See also:         

Discuss this help topic in SecureBlackbox Forum