Discuss this help topic in SecureBlackbox Forum

TElOfficeBinaryXMLSignatureHandler.InitiateAsyncSign

TElOfficeBinaryXMLSignatureHandler     See also     


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


Initiates asynchronous signing.

Declaration

[C#/Java]
    TElDCAsyncState InitiateAsyncSign();
    TElDCAsyncState InitiateAsyncSign(TElX509Certificate Certificate);
    TElDCAsyncState InitiateAsyncSign(TElX509Certificate Certificate, bool EmbedCertificate);
    TElDCAsyncState InitiateAsyncSign(TElCustomCertStorage CertStorage);
    TElDCAsyncState InitiateAsyncSign(TElXMLKeyInfoData KeyData, short SignatureMethod, bool EmbedKeyInSignature);

[VB.NET]
    Function InitiateAsyncSign() As TElDCAsyncState
    Function InitiateAsyncSign(ByVal Certificate As TElX509Certificate) As TElDCAsyncState
    Function InitiateAsyncSign(ByVal Certificate As TElX509Certificate, ByVal EmbedCertificate As Boolean) As TElDCAsyncState
    Function InitiateAsyncSign(ByVal CertStorage As TElCustomCertStorage) 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 : boolean) : TElDCAsyncState;
    function InitiateAsyncSign(CertStorage : TElCustomCertStorage) : 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, bool EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElX509Certificate *Certificate, bool EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage &CertStorage);
    TElDCAsyncStateHandle InitiateAsyncSign(TElCustomCertStorage *CertStorage);
    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, bool EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars, TElX509Certificate *Certificate, bool EmbedCertificate);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters &Pars, TElCustomCertStorage &CertStorage);
    TElDCAsyncStateHandle InitiateAsyncSign(TElDCParameters *Pars, TElCustomCertStorage *CertStorage);
    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, bool $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElCustomCertStorage $CertStorage)
    TElDCAsyncState InitiateAsyncSign(TElXMLKeyInfoData $KeyData, integer $SignatureMethod, bool $EmbedKeyInSignature)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElX509Certificate $Certificate, bool $EmbedCertificate)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElCustomCertStorage $CertStorage)
    TElDCAsyncState InitiateAsyncSign(TElDCParameters $Pars, TElXMLKeyInfoData $KeyData, integer $SignatureMethod, bool $EmbedKeyInSignature)

Parameters

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

Method 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:     CompleteAsyncSign     PrepareForSigning    

Discuss this help topic in SecureBlackbox Forum