public class SubjectConfirmationData extends SubjectConfirmationDataType implements SubjectConfirmationData
SubjectConfirmationData element specifies a subject by specifying data that
authenticates the subject.| Modifier and Type | Field and Description |
|---|---|
protected PublicKey |
keyInfoKeyValue |
protected static Logger |
log |
address, content, inResponseTo, notBefore, notOnOrAfter, recipient| Constructor and Description |
|---|
SubjectConfirmationData() |
SubjectConfirmationData(String address,
String inResponseTo,
GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
String recipient,
Element keyInfo)
Constructs an
SubjectConfirmationData instance. |
SubjectConfirmationData(SubjectConfirmationDataType subConfDataType) |
| Modifier and Type | Method and Description |
|---|---|
static SubjectConfirmationDataType |
fromElement(Element element)
Constructs a subject confirmation element from an existing
XML block.
|
Date |
getNotBeforeDate()
Gets the value of the notBefore property.
|
Date |
getNotOnOrAfterDate()
Gets the value of the notOnOrAfter property.
|
getAddress, getContent, getInResponseTo, getNotBefore, getNotOnOrAfter, getOtherAttributes, getRecipient, setAddress, setInResponseTo, setNotBefore, setNotOnOrAfter, setRecipientclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddress, getInResponseTo, getRecipientprotected PublicKey keyInfoKeyValue
protected static final Logger log
public SubjectConfirmationData()
public SubjectConfirmationData(String address, String inResponseTo, GregorianCalendar notBefore, GregorianCalendar notOnOrAfter, String recipient, Element keyInfo) throws SAMLException
SubjectConfirmationData instance.keyInfo - An XML signature element that specifies a cryptographic
key held by the Subject.SAMLException - if the input data is invalid or
confirmationMethods is empty.public SubjectConfirmationData(SubjectConfirmationDataType subConfDataType)
public static SubjectConfirmationDataType fromElement(Element element) throws SAMLException
element - a DOM Element representing the
SubjectConfirmationData object.SAMLExceptionpublic Date getNotBeforeDate()
SubjectConfirmationDatagetNotBeforeDate in interface SubjectConfirmationDataDatepublic Date getNotOnOrAfterDate()
SubjectConfirmationDatagetNotOnOrAfterDate in interface SubjectConfirmationDataDateCopyright © 2005–2018 Oracle Corporation. All rights reserved.