Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLBaseSignatureHandler.InitiateAsyncSign

TElOfficeOpenXMLBaseSignatureHandler     See also     


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


Initiates asynchronous signing.

Declaration

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

[Pascal]
    function InitiateAsyncSign() : TElDCAsyncState;
    function InitiateAsyncSign(Certificate : TElX509Certificate) : TElDCAsyncState;
    function InitiateAsyncSign(Certificate : TElX509Certificate; EmbedCertificate : TSBOfficeOpenXMLEmbedCertificate) : TElDCAsyncState;
    function InitiateAsyncSign(CertStorage : TElCustomCertStorage) : TElDCAsyncState;
    function InitiateAsyncSign(CertStorage : TElCustomCertStorage; EmbedCertificate : TSBOfficeOpenXMLEmbedCertificate) : TElDCAsyncState;
    function InitiateAsyncSign(KeyData : TElXMLKeyInfoData; SignatureMethod : TElXMLSignatureMethod; EmbedKeyInSignature : boolean) : TElDCAsyncState;

[C++]
    TElDCAsyncStateHandle InitiateAsyncSign();
    TElDCAsyncStateHandle InitiateAsyncSign(TElX509Certificate &Certificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElX509Certificate *Certificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElX509Certificate &Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElX509Certificate *Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage &CertStorage);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage *CertStorage);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage &CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage *CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElXMLKeyInfoData &KeyData, TElXMLSignatureMethod SignatureMethod, bool EmbedKeyInSignature);
    TElDCAsyncStateHandle InitiateAsyncSign(TElXMLKeyInfoData *KeyData, TElXMLSignatureMethod SignatureMethod, bool EmbedKeyInSignature);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters &Pars);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters &Pars, TElX509Certificate &Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars, TElX509Certificate *Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters &Pars, TElCustomCertStorage &CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars, TElCustomCertStorage *CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters &Pars, TElXMLKeyInfoData &KeyData, TElXMLSignatureMethod SignatureMethod, bool EmbedKeyInSignature);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars, TElXMLKeyInfoData *KeyData, TElXMLSignatureMethod SignatureMethod, bool EmbedKeyInSignature);

[PHP]
    TElDCAsyncState InitiateAsyncSign()
    TElDCAsyncState InitiateAsyncSign(TElX509Certificate $Certificate)
    TElDCAsyncState InitiateAsyncSign(TElX509Certificate $Certificate, integer $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElCustomCertStorage $CertStorage)
    TElDCAsyncState InitiateAsyncSign(TElCustomCertStorage $CertStorage, integer $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElXMLKeyInfoData $KeyData, integer $SignatureMethod, bool $EmbedKeyInSignature)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElX509Certificate $Certificate, integer $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElCustomCertStorage $CertStorage, integer $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElXMLKeyInfoData $KeyData, integer $SignatureMethod, bool $EmbedKeyInSignature)

[Java]
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElCustomCertStorage CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElXMLKeyInfoData KeyData, TElXMLSignatureMethod SignatureMethod, boolean EmbedKeyInSignature, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElXMLKeyInfoData KeyData, TElXMLSignatureMethod SignatureMethod, boolean EmbedKeyInSignature);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElX509Certificate Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElCustomCertStorage CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElXMLKeyInfoData KeyData, TElXMLSignatureMethod SignatureMethod, boolean EmbedKeyInSignature);
    TElDCAsyncState initiateAsyncSign(byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign();
    TElDCAsyncState initiateAsyncSign(TElX509Certificate Certificate);
    TElDCAsyncState initiateAsyncSign(TElX509Certificate Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncState initiateAsyncSign(TElCustomCertStorage CertStorage);
    TElDCAsyncState initiateAsyncSign(TElCustomCertStorage CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate);
    TElDCAsyncState initiateAsyncSign(TElCustomCertStorage CertStorage, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElXMLKeyInfoData KeyData, TElXMLSignatureMethod SignatureMethod, boolean EmbedKeyInSignature, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElX509Certificate Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElCustomCertStorage CertStorage, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElX509Certificate Certificate, byte[] AdditionalData);
    TElDCAsyncState initiateAsyncSign(TElDCParameters Pars, TElX509Certificate Certificate, TSBOfficeOpenXMLEmbedCertificate EmbedCertificate, byte[] AdditionalData);

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
  • Pars -
  • AdditionalData -

EmbedCertificate values:


SignatureMethod Values:


Return value

    Returns TElDCAsyncState object describing the signing state.

Description

    Call this method to initiate asynchronous signing process. To finalize the process, call CompleteAsyncSign.

See also:     Sign     CompleteAsyncSign    

Discuss this help topic in SecureBlackbox Forum