Discuss this help topic in SecureBlackbox Forum


TElOfficeBinaryXMLSignatureHandler     See also     

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

This method generates a signature.


    Sub Sign(ByVal Certificate As TElX509Certificate)
    Sub Sign(ByVal Certificate As TElX509Certificate, ByVal EmbedCertificate As Boolean)
    Sub Sign(ByVal CertStorage As TElCustomCertStorage)
    Sub Sign(ByVal KeyData As TElXMLKeyInfoData, ByVal SignatureMethod As TElXMLSignatureMethod, ByVal EmbedKeyInSignature As Boolean)

    procedure Sign(Certificate : TElX509Certificate);
    procedure Sign(Certificate : TElX509Certificate; EmbedCertificate : boolean);
    procedure Sign(CertStorage : TElCustomCertStorage);
    procedure Sign(KeyData : TElXMLKeyInfoData; SignatureMethod : TElXMLSignatureMethod; EmbedKeyInSignature : boolean);

    void Sign(TElX509Certificate $Certificate)
    void Sign(TElX509Certificate $Certificate, bool $EmbedCertificate)
    void Sign(TElCustomCertStorage $CertStorage)
    void Sign(TElXMLKeyInfoData $KeyData, integer $SignatureMethod, bool $EmbedKeyInSignature)


  • CertStorage - the storage with signing certificates
  • Certificate - signing certificate
  • EmbedCertificate - set this parameter to True to embed the certificate in the signature
  • EmbedKeyInSignature - set this parameter to True to embed the key in the signature
  • KeyData - contains XML key data
  • SignatureMethod - specifies signature method

SignatureMethod Values:


    Call this method to produce a signature over the document.

See also:     PrepareForSigning     Validate    

Discuss this help topic in SecureBlackbox Forum