org.apache.rahas.impl.util
Class SAML2KeyInfo
java.lang.Object
org.apache.rahas.impl.util.SAML2KeyInfo
public class SAML2KeyInfo
- extends java.lang.Object
TODO : This class should be moved to WSS4J once a new version of it is avaliable
This class holds the secrets contained in a SAML2 token.
Constructor Summary |
SAML2KeyInfo(org.opensaml.saml2.core.Assertion assertions,
byte[] secret)
|
SAML2KeyInfo(org.opensaml.saml2.core.Assertion assertions,
java.security.cert.X509Certificate[] certs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML2KeyInfo
public SAML2KeyInfo(org.opensaml.saml2.core.Assertion assertions,
java.security.cert.X509Certificate[] certs)
SAML2KeyInfo
public SAML2KeyInfo(org.opensaml.saml2.core.Assertion assertions,
byte[] secret)
getCerts
public java.security.cert.X509Certificate[] getCerts()
getSecret
public byte[] getSecret()
getAssertion
public org.opensaml.saml2.core.Assertion getAssertion()