Discuss this help topic in SecureBlackbox Forum

TElXMLSOAPBaseSignatureHandler.Sign

TElXMLSOAPBaseSignatureHandler     See also     


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


Generates the signature and signs the message.

Declaration

[VB.NET]
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal Certificate As TElX509Certificate)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal Certificate As TElX509Certificate, ByVal IncludeKey As Boolean)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal Certificate As TElX509Certificate, ByVal IncludeKey As Boolean, ByVal IncludeKeyValue As Boolean, ByVal IncludeDataParams As TElXMLKeyInfoX509DataParams)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal CertStorage As TElCustomCertStorage)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal CertStorage As TElCustomCertStorage, ByVal IncludeKey As Boolean)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal CertStorage As TElCustomCertStorage, ByVal IncludeKey As Boolean, ByVal IncludeKeyValue As Boolean, ByVal IncludeDataParams As TElXMLKeyInfoX509DataParams)
    Sub Sign(ByVal ParentElement As TElXMLDOMElement, ByVal KeyData As TElXMLKeyInfoData, ByVal SignatureMethod As TElXMLSignatureMethod, ByVal IncludeKey As Boolean)

[Pascal]
    procedure Sign(ParentElement : TElXMLDOMElement; Certificate : TElX509Certificate); overload;
    procedure Sign(ParentElement : TElXMLDOMElement; Certificate : TElX509Certificate; IncludeKey : Boolean); overload;
    procedure Sign(ParentElement : TElXMLDOMElement; Certificate : TElX509Certificate; IncludeKey, IncludeKeyValue : Boolean; IncludeDataParams : TElXMLKeyInfoX509DataParams); overload; virtual;
    procedure Sign(ParentElement : TElXMLDOMElement; CertStorage : TElCustomCertStorage); overload;
    procedure Sign(ParentElement : TElXMLDOMElement; CertStorage : TElCustomCertStorage; IncludeKey : Boolean); overload;
    procedure Sign(ParentElement : TElXMLDOMElement; CertStorage : TElCustomCertStorage; IncludeKey, IncludeKeyValue : Boolean; IncludeDataParams : TElXMLKeyInfoX509DataParams); overload; virtual;
    procedure Sign(ParentElement : TElXMLDOMElement; KeyData : TElXMLKeyInfoData; SignatureMethod : TElXMLSignatureMethod; IncludeKey : Boolean); overload; virtual;

[C++]
    void Sign(TElXMLDOMElement &ParentElement, TElX509Certificate &Certificate);
    void Sign(TElXMLDOMElement *ParentElement, TElX509Certificate *Certificate);
    void Sign(TElXMLDOMElement &ParentElement, TElX509Certificate &Certificate, bool IncludeKey);
    void Sign(TElXMLDOMElement *ParentElement, TElX509Certificate *Certificate, bool IncludeKey);
    void Sign(TElXMLDOMElement &ParentElement, TElX509Certificate &Certificate, bool IncludeKey, bool IncludeKeyValue, TElXMLKeyInfoX509DataParams IncludeDataParams);
    void Sign(TElXMLDOMElement *ParentElement, TElX509Certificate *Certificate, bool IncludeKey, bool IncludeKeyValue, TElXMLKeyInfoX509DataParams IncludeDataParams);
    void Sign(TElXMLDOMElement &ParentElement, TElCustomCertStorage &CertStorage);
    void Sign(TElXMLDOMElement *ParentElement, TElCustomCertStorage *CertStorage);
    void Sign(TElXMLDOMElement &ParentElement, TElCustomCertStorage &CertStorage, bool IncludeKey);
    void Sign(TElXMLDOMElement *ParentElement, TElCustomCertStorage *CertStorage, bool IncludeKey);
    void Sign(TElXMLDOMElement &ParentElement, TElCustomCertStorage &CertStorage, bool IncludeKey, bool IncludeKeyValue, TElXMLKeyInfoX509DataParams IncludeDataParams);
    void Sign(TElXMLDOMElement *ParentElement, TElCustomCertStorage *CertStorage, bool IncludeKey, bool IncludeKeyValue, TElXMLKeyInfoX509DataParams IncludeDataParams);
    void Sign(TElXMLDOMElement &ParentElement, TElXMLKeyInfoData &KeyData, TElXMLSignatureMethod SignatureMethod, bool IncludeKey);
    void Sign(TElXMLDOMElement *ParentElement, TElXMLKeyInfoData *KeyData, TElXMLSignatureMethod SignatureMethod, bool IncludeKey);

Parameters

  • Certificate - the signing certificate.
  • CertStorage - the storage with signing certificates.
  • IncludeDataParams - specifies whether data params should be included.
  • IncludeKey - specifies whether the key should be included to the signature.
  • IncludeKeyValue - specifies whether key value should be included.
  • KeyData - contains the signing key data.
  • ParentElement - the XML node to which the signature should be attached.
  • SignatureMethod - specifies the signature method to be used.

TElXMLKeyInfoX509DataParams values

TElXMLSignatureMethod values

Description

Use this method to sign the message.

See also:     InitiateAsyncSign    

Discuss this help topic in SecureBlackbox Forum