Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLBaseSignatureHandler.Sign

TElOfficeOpenXMLBaseSignatureHandler     See also     


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


This method generates the signature.

Declaration

[VB.NET]
    Sub Sign(ByVal Certificate As TElX509Certificate)
    Sub Sign(ByVal Certificate As TElX509Certificate, ByVal EmbedCertificate As TSBOfficeOpenXMLEmbedCertificate)
    Sub Sign(ByVal CertStorage As TElCustomCertStorage)
    Sub Sign(ByVal CertStorage As TElCustomCertStorage, ByVal EmbedCertificate As TSBOfficeOpenXMLEmbedCertificate)
    Sub Sign(ByVal KeyData As TElXMLKeyInfoData, ByVal SignatureMethod As Short, ByVal EmbedKeyInSignature As Boolean)

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

Parameters

  • CertStorage - the storage with signing certificates
  • Certificate - signing certificate
  • EmbedCertificate - specifies how 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

EmbedCertificate values:


SignatureMethod Values:


Description

    Call this method to produce a signature over the document.

See also:     InitiateAsyncSign     Validate    

Discuss this help topic in SecureBlackbox Forum