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
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectConfirmationDataType
address, content, inResponseTo, notBefore, notOnOrAfter, recipient -
Constructor Summary
ConstructorsConstructorDescriptionKeyInfoConfirmationData(Element keyInfo) Constructs anSubjectConfirmationDatainstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyInfoConfirmationDatafromElement(Element element) Constructs a KeyInfoConfirmationData element from an existing XML block.Gets the value of the notBefore property.Gets the value of the notOnOrAfter property.voidsetKeyInfo(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, setRecipientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.wss.saml.SubjectConfirmationData
getAddress, getInResponseTo, getRecipient
-
Field Details
-
keyInfoKeyValue
-
log
-
-
Constructor Details
-
KeyInfoConfirmationData
Constructs anSubjectConfirmationDatainstance.- Parameters:
keyInfo- An XML signature element that specifies a cryptographic key held by theSubject.- Throws:
SAMLException- if the input data is invalid orconfirmationMethodsis empty.
-
-
Method Details
-
fromElement
Constructs a KeyInfoConfirmationData element from an existing XML block.- Parameters:
element- a DOM Element representing theKeyInfoConfirmationDataobject.- Throws:
SAMLException
-
setKeyInfo
-
getNotBeforeDate
Description copied from interface:SubjectConfirmationDataGets the value of the notBefore property.- Specified by:
getNotBeforeDatein interfaceSubjectConfirmationData- Returns:
- object is
Date
-
getNotOnOrAfterDate
Description copied from interface:SubjectConfirmationDataGets the value of the notOnOrAfter property.- Specified by:
getNotOnOrAfterDatein interfaceSubjectConfirmationData- Returns:
- object is
Date
-