Discuss this help topic in SecureBlackbox Forum

TElOfficeBinaryXMLSignatureHandler.InitiateAsyncSign

TElOfficeBinaryXMLSignatureHandler     See also     


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


Initiates asynchronous signing.

Declaration

[C#]
    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)

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

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

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