com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class KeyInfoConfirmationData
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
com.sun.xml.wss.saml.internal.saml20.jaxb20.KeyInfoConfirmationDataType
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 java.security.PublicKey |
keyInfoKeyValue
|
protected static java.util.logging.Logger |
log
|
|
Constructor Summary |
KeyInfoConfirmationData(org.w3c.dom.Element keyInfo)
Constructs an SubjectConfirmationData instance. |
| 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 |
keyInfoKeyValue
protected java.security.PublicKey keyInfoKeyValue
log
protected static final java.util.logging.Logger log
KeyInfoConfirmationData
public KeyInfoConfirmationData(org.w3c.dom.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.
fromElement
public static KeyInfoConfirmationData fromElement(org.w3c.dom.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 java.util.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 java.util.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-2013 Oracle Corporation. All Rights Reserved.