Discuss this help topic in SecureBlackbox Forum

TElX509CertificateEx.SetCACertificate

TElX509CertificateEx     See also     


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


Use this method to set certificate authority (CA) certificate.

Declaration

[C#/Java]
    void SetCACertificate(byte[] Buffer);
    void SetCACertificate(TElX509Certificate Cert);

[VB.NET]
    Sub SetCACertificate(ByVal Buffer As Byte())
    Sub SetCACertificate(ByVal Cert As TElX509Certificate)

[Pascal]
    procedure SetCACertificate(Buffer : pointer; Size : LongInt);
    procedure SetCACertificate(Cert : TElX509Certificate);

[C++]
    void SetCACertificate(void * Buffer, int32_t Size);
    void SetCACertificate(TElX509Certificate &Cert);
    void SetCACertificate(TElX509Certificate *Cert);

[PHP]
    void SetCACertificate(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)
    void SetCACertificate(TElX509Certificate $Cert)

Parameters

  • Buffer - the buffer from which the certificate is loaded. The data in the buffer must be in DER format.
  • Size - the size of the buffer from which the data is loaded.
  • Cert - CA certificate.

Description

    This method sets certificate authority (CA) certificate. This operation is needed to specify the data about the issuer which will be used for creation of new certificate.

See also:     Generate     SetCAPrivateKey    

Discuss this help topic in SecureBlackbox Forum