com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class KeyInfoConfirmationData

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
      extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.KeyInfoConfirmationDataType
          extended by com.sun.xml.wss.saml.assertion.saml20.jaxb20.KeyInfoConfirmationData
All Implemented Interfaces:
KeyInfoConfirmationData, SubjectConfirmationData

public class KeyInfoConfirmationData
extends KeyInfoConfirmationDataType
implements KeyInfoConfirmationData

Author:
root

Field Summary
protected  PublicKey keyInfoKeyValue
           
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
address, content, inResponseTo, notBefore, notOnOrAfter, recipient
 
Constructor Summary
KeyInfoConfirmationData(Element keyInfo)
          Constructs an SubjectConfirmationData instance.
 
Method Summary
static KeyInfoConfirmationData fromElement(Element element)
          Constructs a KeyInfoConfirmationData element from an existing XML block.
 Date getNotBeforeDate()
          Gets the value of the notBefore property.
 Date getNotOnOrAfterDate()
          Gets the value of the notOnOrAfter property.
 void setKeyInfo(KeyInfoType value)
           
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
getAddress, getContent, getInResponseTo, getNotBefore, getNotOnOrAfter, getOtherAttributes, getRecipient, setAddress, setInResponseTo, setNotBefore, setNotOnOrAfter, setRecipient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.SubjectConfirmationData
getAddress, getInResponseTo, getRecipient
 

Field Detail

keyInfoKeyValue

protected PublicKey keyInfoKeyValue

log

protected static final Logger log
Constructor Detail

KeyInfoConfirmationData

public KeyInfoConfirmationData(Element keyInfo)
                        throws SAMLException
Constructs an SubjectConfirmationData instance.

Parameters:
confirmationMethods - A set of confirmationMethods each of which is a URI (String) that identifies a protocol used to authenticate a Subject. Please refer to draft-sstc-core-25 Section 7 for a list of URIs identifying common authentication protocols.
SubjectConfirmationDataData - Additional authentication information to be used by a specific authentication protocol. Can be passed as null if there is no SubjectConfirmationDataData for the SubjectConfirmationData object.
keyInfo - An XML signature element that specifies a cryptographic key held by the Subject.
Throws:
SAMLException - if the input data is invalid or confirmationMethods is empty.
Method Detail

fromElement

public static KeyInfoConfirmationData fromElement(Element element)
                                           throws SAMLException
Constructs a KeyInfoConfirmationData element from an existing XML block.

Parameters:
KeyInfoConfirmationData - a DOM Element representing the KeyInfoConfirmationData object.
Throws:
SAMLException

setKeyInfo

public void setKeyInfo(KeyInfoType value)

getNotBeforeDate

public Date getNotBeforeDate()
Description copied from interface: SubjectConfirmationData
Gets the value of the notBefore property.

Specified by:
getNotBeforeDate in interface SubjectConfirmationData
Returns:
object is Date

getNotOnOrAfterDate

public Date getNotOnOrAfterDate()
Description copied from interface: SubjectConfirmationData
Gets the value of the notOnOrAfter property.

Specified by:
getNotOnOrAfterDate in interface SubjectConfirmationData
Returns:
object is Date


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.