Discuss this help topic in SecureBlackbox Forum

TElCAdESSignatureProcessor.CreateC

TElCAdESSignatureProcessor     See also     


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


Creates a CAdES-C signature.

Declaration

[VB.NET]
    Sub CreateC(ByVal Cert As TElX509Certificate, ByVal TSPClient As TElCustomTSPClient)
    Sub CreateC(ByVal Cert As TElX509Certificate, ByVal Chain As TElCustomCertStorage, ByVal ContentType As Byte(), ByVal TSPClient As TElCustomTSPClient, ByVal InsertCertAndRevValues As Boolean)

[Pascal]
    procedure CreateC(Cert : TElX509Certificate; TSPClient : TElCustomTSPClient);
    procedure CreateC(Cert : TElX509Certificate; Chain : TElCustomCertStorage; const ContentType : ByteArray; TSPClient : TElCustomTSPClient; InsertCertAndRevValues : boolean);

[C++]
    void CreateC(TElX509Certificate &Cert, TElCustomTSPClient &TSPClient);
    void CreateC(TElX509Certificate *Cert, TElCustomTSPClient *TSPClient);
    void CreateC(TElX509Certificate &Cert, TElCustomCertStorage &Chain, const std::vector<uint8_t> &ContentType, TElCustomTSPClient &TSPClient, bool InsertCertAndRevValues);
    void CreateC(TElX509Certificate *Cert, TElCustomCertStorage *Chain, const std::vector<uint8_t> &ContentType, TElCustomTSPClient *TSPClient, bool InsertCertAndRevValues);

[PHP]
    void CreateC(TElX509Certificate $Cert, TElCustomTSPClient $TSPClient)
    void CreateC(TElX509Certificate $Cert, TElCustomCertStorage $Chain, array of byte|string|NULL $ContentType, TElCustomTSPClient $TSPClient, bool $InsertCertAndRevValues)

Parameters

  • Cert - specifies the signing certificate.
  • TSPClient - the client which communicates with the TSP server.
  • Chain - the certificate chain to be added to the signature.
  • ContentType - specifies the content type of the signed message.
  • InsertCertAndRevValues - set this parameter to True if certificates and revocation info should be included to the signature.

Description

    Call this method to create a CAdES-C (complete) signature. This signature includes a timestamp. References to verification data are added to the signed document, which allows verification in future. Optionally, verification values may also be added to the document. To do this, set InsertCertAndRevValues parameter to True.

See also:     Signature     CreateBES     CreateEPES     CreateT     CreateX     CreateXL    

Discuss this help topic in SecureBlackbox Forum