org.apache.rahas.impl.util
Class SAML2KeyInfo

java.lang.Object
  extended by 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)
           
 
Method Summary
 org.opensaml.saml2.core.Assertion getAssertion()
           
 java.security.cert.X509Certificate[] getCerts()
           
 byte[] getSecret()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

getCerts

public java.security.cert.X509Certificate[] getCerts()

getSecret

public byte[] getSecret()

getAssertion

public org.opensaml.saml2.core.Assertion getAssertion()