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
| 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 PublicKey keyInfoKeyValue
log
protected static final Logger log
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.
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.