Discuss this help topic in SecureBlackbox Forum

TElSAMLPOSTBinding.Detect

TElSAMLPOSTBinding     


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


Detects what kind of SAML protocol message is carried within given communication protocol message.

Declaration

[C#]
    static TSBSAMLDataType Detect(byte[] Buf, out string Proto);

[VB.NET]
    Shared Function Detect(ByVal Buf As Byte(), Out Proto As String) As TSBSAMLDataType

[Pascal]
    class function Detect(const Buf : ByteArray; out Proto : string) : TSBSAMLDataType;

[C++]
    static TSBSAMLDataType Detect(const std::vector<uint8_t> &Buf, std::string &Proto);

[PHP]
    integer Detect(array of byte|string|NULL $Buf, string &$Proto)

[Java]
    static TSBSAMLDataType detect(TElSAMLPOSTBinding> this, byte[] Buf, TSBString Proto);

Parameters

  • Buf - the base64-encoded content of an HTML form control.
  • Proto - the name of the message element representing the SAML protocol message.

Return value

Returns the type of SAML protocol message enclosed, and the name of the corresponding element.

TSBSAMLDataType values

Description

Use this method to detect what kind of SAML protocol message is carried by the given communication protocol (HTTP, SOAP, etc.) message.

Discuss this help topic in SecureBlackbox Forum