Discuss this help topic in SecureBlackbox Forum

TElX509CertificateEx.CAGenerate

TElX509CertificateEx     See also     


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


Generates new self-signed certificate.

Declaration

[C#/Java]
    void CAGenerate(int Algorithm, int DWordsInEncryptKey);

[VB.NET]
    Sub CAGenerate(ByVal Algorithm As Integer, ByVal DWordsInEncryptKey As Integer)

[Pascal]
    procedure CAGenerate(Algorithm : integer; DwordsInEncryptKey : integer);

[C++]
    void CAGenerate(int32_t Algorithm, int32_t DWordsInEncryptKey);

[PHP]
    void CAGenerate(integer $Algorithm, integer $DWordsInEncryptKey)

Parameters

  • Algorithm - specifies the type of the key to be generated. Possible values are listed below.
  • DWordsInEncryptKey - The number of 32-bit words in resulting key. The length of the key in bits is calculated as 32 * DWordsInEncryptKey

Values:

The following algorithms may be used as public key algorithms:


The following algorithms may be used as signature algorithms:

Description

    This method causes TElX509CertificateEx object to generate a new self-signed certificate based on specified security algorithm. Specify the length of the resulting key(s) using DWordsInEncryptKey parameter. All data of the generated certificate will be accessible via object properties and methods.

See also:     CertificateBinary    

Discuss this help topic in SecureBlackbox Forum