001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: //
024: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b24-ea3
025: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
026: // Any modifications to this file will be lost upon recompilation of the source schema.
027: // Generated on: 2006.02.03 at 04:10:33 PM IST
028: //
029:
030: package com.sun.xml.security.core.xenc;
031:
032: import javax.xml.bind.annotation.XmlAccessType;
033: import javax.xml.bind.annotation.XmlAccessorType;
034: import javax.xml.bind.annotation.XmlAttribute;
035: import javax.xml.bind.annotation.XmlElement;
036: import javax.xml.bind.annotation.XmlRootElement;
037: import javax.xml.bind.annotation.XmlType;
038:
039: /**
040: * <p>Java class for EncryptedKeyType complex type.
041: *
042: * <p>The following schema fragment specifies the expected content contained within this class.
043: *
044: * <pre>
045: * <complexType name="EncryptedKeyType">
046: * <complexContent>
047: * <extension base="{http://www.w3.org/2001/04/xmlenc#}EncryptedType">
048: * <sequence>
049: * <element ref="{http://www.w3.org/2001/04/xmlenc#}ReferenceList" minOccurs="0"/>
050: * <element name="CarriedKeyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
051: * </sequence>
052: * <attribute name="Recipient" type="{http://www.w3.org/2001/XMLSchema}string" />
053: * </extension>
054: * </complexContent>
055: * </complexType>
056: * </pre>
057: *
058: *
059: */
060: @XmlRootElement(name="EncryptedKey")
061: @XmlAccessorType(XmlAccessType.FIELD)
062: @XmlType(name="EncryptedKeyType",propOrder={"referenceList","carriedKeyName"})
063: public class EncryptedKeyType extends EncryptedType {
064:
065: @XmlElement(name="ReferenceList",namespace="http://www.w3.org/2001/04/xmlenc#")
066: protected ReferenceList referenceList;
067: @XmlElement(name="CarriedKeyName",namespace="http://www.w3.org/2001/04/xmlenc#")
068: protected String carriedKeyName;
069: @XmlAttribute(name="Recipient")
070: protected String recipient;
071:
072: /**
073: * Gets the value of the referenceList property.
074: *
075: * @return
076: * possible object is
077: * {@link ReferenceList }
078: *
079: */
080: public ReferenceList getReferenceList() {
081: return referenceList;
082: }
083:
084: /**
085: * Sets the value of the referenceList property.
086: *
087: * @param value
088: * allowed object is
089: * {@link ReferenceList }
090: *
091: */
092: public void setReferenceList(ReferenceList value) {
093: this .referenceList = value;
094: }
095:
096: /**
097: * Gets the value of the carriedKeyName property.
098: *
099: * @return
100: * possible object is
101: * {@link String }
102: *
103: */
104: public String getCarriedKeyName() {
105: return carriedKeyName;
106: }
107:
108: /**
109: * Sets the value of the carriedKeyName property.
110: *
111: * @param value
112: * allowed object is
113: * {@link String }
114: *
115: */
116: public void setCarriedKeyName(String value) {
117: this .carriedKeyName = value;
118: }
119:
120: /**
121: * Gets the value of the recipient property.
122: *
123: * @return
124: * possible object is
125: * {@link String }
126: *
127: */
128: public String getRecipient() {
129: return recipient;
130: }
131:
132: /**
133: * Sets the value of the recipient property.
134: *
135: * @param value
136: * allowed object is
137: * {@link String }
138: *
139: */
140: public void setRecipient(String value) {
141: this.recipient = value;
142: }
143:
144: }
|