public class QueryClientUtils extends Object
| Constructor and Description |
|---|
QueryClientUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doBootstrap()
Initializes the OpenSAML library modules, if not initialized yet.
|
static String |
getAssertionId(String xmlResponse)
This method is used to extract assertion id from Assertion
|
static String |
marshall(org.opensaml.core.xml.XMLObject xmlObject)
This method is used to serialize response message
|
static org.opensaml.xmlsec.signature.SignableXMLObject |
setXMLSignature(org.opensaml.xmlsec.signature.SignableXMLObject signableXMLObject,
String signatureAlgorithm,
String digestAlgorithm,
org.opensaml.security.x509.X509Credential cred)
This method is used to set XML signature
|
public static void doBootstrap()
public static String marshall(org.opensaml.core.xml.XMLObject xmlObject)
xmlObject - well formed XML objectpublic static org.opensaml.xmlsec.signature.SignableXMLObject setXMLSignature(org.opensaml.xmlsec.signature.SignableXMLObject signableXMLObject,
String signatureAlgorithm,
String digestAlgorithm,
org.opensaml.security.x509.X509Credential cred)
signableXMLObject - XML element or messagesignatureAlgorithm - Signature AlgorithmdigestAlgorithm - Digest Algorithmcred - X509Credential instanceCopyright © 2007–2016 WSO2. All rights reserved.