public class SamlMessagesHelpers extends Object
| Constructor and Description |
|---|
SamlMessagesHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static String |
base64Decode(String input) |
static String |
base64Encode(String input) |
static org.opensaml.saml2.encryption.Decrypter |
getDecrypter(byte[] privateKeyString) |
static org.opensaml.xml.XMLObject |
getResponseObj(String xmlFile) |
static String |
samlXmlObjToString(org.opensaml.xml.XMLObject obj) |
public static String samlXmlObjToString(org.opensaml.xml.XMLObject obj) throws org.opensaml.xml.io.MarshallingException
org.opensaml.xml.io.MarshallingExceptionpublic static String base64Decode(String input) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static org.opensaml.xml.XMLObject getResponseObj(String xmlFile) throws org.opensaml.xml.ConfigurationException, org.opensaml.xml.parse.XMLParserException, org.opensaml.xml.io.UnmarshallingException
org.opensaml.xml.ConfigurationExceptionorg.opensaml.xml.parse.XMLParserExceptionorg.opensaml.xml.io.UnmarshallingExceptionpublic static org.opensaml.saml2.encryption.Decrypter getDecrypter(byte[] privateKeyString)
throws IOException,
InvalidKeySpecException,
NoSuchAlgorithmException
Copyright © 2017. All Rights Reserved.