com.sun.xml.wss.saml.internal.saml20.jaxb20.EncryptedElementType Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.09.12 at 08:57:41 PM IST
//
package com.sun.xml.wss.saml.internal.saml20.jaxb20;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import com.sun.xml.security.core.xenc.EncryptedDataType;
import com.sun.xml.security.core.xenc.EncryptedKeyType;
import jakarta.xml.bind.annotation.XmlRootElement;
/**
* Java class for EncryptedElementType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EncryptedElementType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/>
* <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedKey" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name="EncryptedElement")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EncryptedElementType", propOrder = {
"encryptedData",
"encryptedKey"
})
public class EncryptedElementType {
@XmlElement(name = "EncryptedData", namespace = "http://www.w3.org/2001/04/xmlenc#", required = true)
protected EncryptedDataType encryptedData;
@XmlElement(name = "EncryptedKey", namespace = "http://www.w3.org/2001/04/xmlenc#")
protected List encryptedKey;
/**
* Gets the value of the encryptedData property.
*
* @return
* possible object is
* {@link EncryptedDataType }
*
*/
public EncryptedDataType getEncryptedData() {
return encryptedData;
}
/**
* Sets the value of the encryptedData property.
*
* @param value
* allowed object is
* {@link EncryptedDataType }
*
*/
public void setEncryptedData(EncryptedDataType value) {
this.encryptedData = value;
}
/**
* Gets the value of the encryptedKey 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 encryptedKey property.
*
*
* For example, to add a new item, do as follows:
*
* getEncryptedKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EncryptedKeyType }
*
*
*/
public List getEncryptedKey() {
if (encryptedKey == null) {
encryptedKey = new ArrayList();
}
return this.encryptedKey;
}
}