
se.swedenconnect.schemas.saml_1_1.assertion.SubjectConfirmation Maven / Gradle / Ivy
Show all versions of oasis-dss-jaxb Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 01:06:56 PM CEST
//
package se.swedenconnect.schemas.saml_1_1.assertion;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.xml.security.binding.xmldsig.KeyInfoType;
/**
* Java class for SubjectConfirmationType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="SubjectConfirmationType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}ConfirmationMethod" maxOccurs="unbounded"/>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectConfirmationData" minOccurs="0"/>
* <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubjectConfirmationType", propOrder = {
"confirmationMethods",
"subjectConfirmationData",
"keyInfo"
})
@XmlRootElement(name = "SubjectConfirmation")
public class SubjectConfirmation {
@XmlElement(name = "ConfirmationMethod", required = true)
@XmlSchemaType(name = "anyURI")
protected List confirmationMethods;
@XmlElement(name = "SubjectConfirmationData")
protected Object subjectConfirmationData;
@XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#")
protected KeyInfoType keyInfo;
/**
* Gets the value of the confirmationMethods property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the confirmationMethods property.
*
*
* For example, to add a new item, do as follows:
*
* getConfirmationMethods().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getConfirmationMethods() {
if (confirmationMethods == null) {
confirmationMethods = new ArrayList();
}
return this.confirmationMethods;
}
public boolean isSetConfirmationMethods() {
return ((this.confirmationMethods!= null)&&(!this.confirmationMethods.isEmpty()));
}
public void unsetConfirmationMethods() {
this.confirmationMethods = null;
}
/**
* Gets the value of the subjectConfirmationData property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getSubjectConfirmationData() {
return subjectConfirmationData;
}
/**
* Sets the value of the subjectConfirmationData property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setSubjectConfirmationData(Object value) {
this.subjectConfirmationData = value;
}
public boolean isSetSubjectConfirmationData() {
return (this.subjectConfirmationData!= null);
}
/**
* Gets the value of the keyInfo property.
*
* @return
* possible object is
* {@link KeyInfoType }
*
*/
public KeyInfoType getKeyInfo() {
return keyInfo;
}
/**
* Sets the value of the keyInfo property.
*
* @param value
* allowed object is
* {@link KeyInfoType }
*
*/
public void setKeyInfo(KeyInfoType value) {
this.keyInfo = value;
}
public boolean isSetKeyInfo() {
return (this.keyInfo!= null);
}
}