Discuss this help topic in SecureBlackbox Forum

TElSAMLSecurityHandler.Unprotect

TElSAMLSecurityHandler     See also     


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


Decrypts the data or verifies the signature.

Declaration

[VB.NET]
    Function Unprotect(ByVal Document As TElXMLDOMDocument, ByVal Input As TElXMLDOMElement, Out Output As TElXMLDOMElement) As Boolean

[Pascal]
    function Unprotect(Document : TElXMLDOMDocument; Input : TElXMLDOMElement; out Output : TElXMLDOMElement) : boolean; virtual; abstract;

[Java]
    boolean unprotect(TElXMLDOMDocument arg0, TElXMLDOMElement arg1, TElXMLDOMElement[] arg2);

Parameters

  • Document - the document to which the protected and unprotected nodes belong.
  • Input - the protected (encrypted or signed) data.
  • Output - the unprotected (decrypted) data.

Return value

Returns true if the decryption (signature verification) was successful, and false otherwise.

Description

Use this method in the descendants of TElSAMLSecurityHandler to decrypt the encrypted elements or to verify electronic signatures.

See also:     Protect    

Discuss this help topic in SecureBlackbox Forum