com.sun.xml.wss.saml
Class AssertionUtil
java.lang.Object
com.sun.xml.wss.saml.AssertionUtil
public class AssertionUtil
- extends Object
- Author:
- abhijit.das@Sun.COM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSubjectConfirmationKey
public static Key getSubjectConfirmationKey(Element assertion,
CallbackHandler callbackHandler)
throws XWSSecurityException
- Retrive the key from HOK SAML Assertion
- Parameters:
assertion - An org.w3c.dom.Element representation of SAML AssertioncallbackHandler - A javax.security.auth.callback.CallbackHandler object used to retrive the key
- Returns:
- java.security.Key
- Throws:
XWSSecurityException
resolveX509Data
public static Key resolveX509Data(com.sun.org.apache.xml.internal.security.keys.content.X509Data x509Data,
CallbackHandler callbackHandler)
throws XWSSecurityException
- Throws:
XWSSecurityException
resolveEncryptedKey
public static Key resolveEncryptedKey(com.sun.org.apache.xml.internal.security.encryption.EncryptedKey encryptedKey,
CallbackHandler callbackHandler)
throws XWSSecurityException
- Throws:
XWSSecurityException
fromElement
public static Assertion fromElement(Element element)
throws SAMLException
- Throws:
SAMLException
getConfirmationMethod
public static String getConfirmationMethod(Element assertion)
getSubjectConfirmationKeyInfo
public static Element getSubjectConfirmationKeyInfo(Element assertion)
throws XWSSecurityException
- Throws:
XWSSecurityException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.