001: package org.w3._2001._04.xmlenc_;
002:
003: import java.math.BigInteger;
004: import javax.xml.bind.JAXBElement;
005: import javax.xml.bind.annotation.XmlElementDecl;
006: import javax.xml.bind.annotation.XmlRegistry;
007: import javax.xml.namespace.QName;
008: import org.w3._2000._09.xmldsig_.KeyInfoType;
009:
010: /**
011: * This object contains factory methods for each
012: * Java content interface and Java element interface
013: * generated in the org.w3._2001._04.xmlenc_ package.
014: * <p>An ObjectFactory allows you to programatically
015: * construct new instances of the Java representation
016: * for XML content. The Java representation of XML
017: * content can consist of schema derived interfaces
018: * and classes representing the binding of schema
019: * type definitions, element declarations and model
020: * groups. Factory methods for each of these are
021: * provided in this class.
022: *
023: */
024: @XmlRegistry
025: public class ObjectFactory {
026:
027: private final static QName _EncryptionMethodTypeOAEPparams_QNAME = new QName(
028: "http://www.w3.org/2001/04/xmlenc#", "OAEPparams");
029: private final static QName _EncryptionMethodTypeKeySize_QNAME = new QName(
030: "http://www.w3.org/2001/04/xmlenc#", "KeySize");
031: private final static QName _AgreementMethod_QNAME = new QName(
032: "http://www.w3.org/2001/04/xmlenc#", "AgreementMethod");
033: private final static QName _CipherReference_QNAME = new QName(
034: "http://www.w3.org/2001/04/xmlenc#", "CipherReference");
035: private final static QName _EncryptionProperties_QNAME = new QName(
036: "http://www.w3.org/2001/04/xmlenc#", "EncryptionProperties");
037: private final static QName _EncryptionProperty_QNAME = new QName(
038: "http://www.w3.org/2001/04/xmlenc#", "EncryptionProperty");
039: private final static QName _EncryptedKey_QNAME = new QName(
040: "http://www.w3.org/2001/04/xmlenc#", "EncryptedKey");
041: private final static QName _CipherData_QNAME = new QName(
042: "http://www.w3.org/2001/04/xmlenc#", "CipherData");
043: private final static QName _EncryptedData_QNAME = new QName(
044: "http://www.w3.org/2001/04/xmlenc#", "EncryptedData");
045: private final static QName _ReferenceListDataReference_QNAME = new QName(
046: "http://www.w3.org/2001/04/xmlenc#", "DataReference");
047: private final static QName _ReferenceListKeyReference_QNAME = new QName(
048: "http://www.w3.org/2001/04/xmlenc#", "KeyReference");
049: private final static QName _AgreementMethodTypeKANonce_QNAME = new QName(
050: "http://www.w3.org/2001/04/xmlenc#", "KA-Nonce");
051: private final static QName _AgreementMethodTypeOriginatorKeyInfo_QNAME = new QName(
052: "http://www.w3.org/2001/04/xmlenc#", "OriginatorKeyInfo");
053: private final static QName _AgreementMethodTypeRecipientKeyInfo_QNAME = new QName(
054: "http://www.w3.org/2001/04/xmlenc#", "RecipientKeyInfo");
055:
056: /**
057: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.w3._2001._04.xmlenc_
058: *
059: */
060: public ObjectFactory() {
061: }
062:
063: /**
064: * Create an instance of {@link EncryptionMethodType }
065: *
066: */
067: public EncryptionMethodType createEncryptionMethodType() {
068: return new EncryptionMethodType();
069: }
070:
071: /**
072: * Create an instance of {@link EncryptionPropertiesType }
073: *
074: */
075: public EncryptionPropertiesType createEncryptionPropertiesType() {
076: return new EncryptionPropertiesType();
077: }
078:
079: /**
080: * Create an instance of {@link EncryptedKeyType }
081: *
082: */
083: public EncryptedKeyType createEncryptedKeyType() {
084: return new EncryptedKeyType();
085: }
086:
087: /**
088: * Create an instance of {@link CipherDataType }
089: *
090: */
091: public CipherDataType createCipherDataType() {
092: return new CipherDataType();
093: }
094:
095: /**
096: * Create an instance of {@link ReferenceType }
097: *
098: */
099: public ReferenceType createReferenceType() {
100: return new ReferenceType();
101: }
102:
103: /**
104: * Create an instance of {@link ReferenceList }
105: *
106: */
107: public ReferenceList createReferenceList() {
108: return new ReferenceList();
109: }
110:
111: /**
112: * Create an instance of {@link EncryptionPropertyType }
113: *
114: */
115: public EncryptionPropertyType createEncryptionPropertyType() {
116: return new EncryptionPropertyType();
117: }
118:
119: /**
120: * Create an instance of {@link TransformsType }
121: *
122: */
123: public TransformsType createTransformsType() {
124: return new TransformsType();
125: }
126:
127: /**
128: * Create an instance of {@link CipherReferenceType }
129: *
130: */
131: public CipherReferenceType createCipherReferenceType() {
132: return new CipherReferenceType();
133: }
134:
135: /**
136: * Create an instance of {@link EncryptedDataType }
137: *
138: */
139: public EncryptedDataType createEncryptedDataType() {
140: return new EncryptedDataType();
141: }
142:
143: /**
144: * Create an instance of {@link AgreementMethodType }
145: *
146: */
147: public AgreementMethodType createAgreementMethodType() {
148: return new AgreementMethodType();
149: }
150:
151: /**
152: * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
153: *
154: */
155: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="OAEPparams",scope=EncryptionMethodType.class)
156: public JAXBElement<byte[]> createEncryptionMethodTypeOAEPparams(
157: byte[] value) {
158: return new JAXBElement<byte[]>(
159: _EncryptionMethodTypeOAEPparams_QNAME, byte[].class,
160: EncryptionMethodType.class, ((byte[]) value));
161: }
162:
163: /**
164: * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
165: *
166: */
167: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="KeySize",scope=EncryptionMethodType.class)
168: public JAXBElement<BigInteger> createEncryptionMethodTypeKeySize(
169: BigInteger value) {
170: return new JAXBElement<BigInteger>(
171: _EncryptionMethodTypeKeySize_QNAME, BigInteger.class,
172: EncryptionMethodType.class, value);
173: }
174:
175: /**
176: * Create an instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >}}
177: *
178: */
179: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="AgreementMethod")
180: public JAXBElement<AgreementMethodType> createAgreementMethod(
181: AgreementMethodType value) {
182: return new JAXBElement<AgreementMethodType>(
183: _AgreementMethod_QNAME, AgreementMethodType.class,
184: null, value);
185: }
186:
187: /**
188: * Create an instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >}}
189: *
190: */
191: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="CipherReference")
192: public JAXBElement<CipherReferenceType> createCipherReference(
193: CipherReferenceType value) {
194: return new JAXBElement<CipherReferenceType>(
195: _CipherReference_QNAME, CipherReferenceType.class,
196: null, value);
197: }
198:
199: /**
200: * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >}}
201: *
202: */
203: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="EncryptionProperties")
204: public JAXBElement<EncryptionPropertiesType> createEncryptionProperties(
205: EncryptionPropertiesType value) {
206: return new JAXBElement<EncryptionPropertiesType>(
207: _EncryptionProperties_QNAME,
208: EncryptionPropertiesType.class, null, value);
209: }
210:
211: /**
212: * Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >}}
213: *
214: */
215: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="EncryptionProperty")
216: public JAXBElement<EncryptionPropertyType> createEncryptionProperty(
217: EncryptionPropertyType value) {
218: return new JAXBElement<EncryptionPropertyType>(
219: _EncryptionProperty_QNAME,
220: EncryptionPropertyType.class, null, value);
221: }
222:
223: /**
224: * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >}}
225: *
226: */
227: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="EncryptedKey")
228: public JAXBElement<EncryptedKeyType> createEncryptedKey(
229: EncryptedKeyType value) {
230: return new JAXBElement<EncryptedKeyType>(_EncryptedKey_QNAME,
231: EncryptedKeyType.class, null, value);
232: }
233:
234: /**
235: * Create an instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >}}
236: *
237: */
238: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="CipherData")
239: public JAXBElement<CipherDataType> createCipherData(
240: CipherDataType value) {
241: return new JAXBElement<CipherDataType>(_CipherData_QNAME,
242: CipherDataType.class, null, value);
243: }
244:
245: /**
246: * Create an instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >}}
247: *
248: */
249: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="EncryptedData")
250: public JAXBElement<EncryptedDataType> createEncryptedData(
251: EncryptedDataType value) {
252: return new JAXBElement<EncryptedDataType>(_EncryptedData_QNAME,
253: EncryptedDataType.class, null, value);
254: }
255:
256: /**
257: * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
258: *
259: */
260: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="DataReference",scope=ReferenceList.class)
261: public JAXBElement<ReferenceType> createReferenceListDataReference(
262: ReferenceType value) {
263: return new JAXBElement<ReferenceType>(
264: _ReferenceListDataReference_QNAME, ReferenceType.class,
265: ReferenceList.class, value);
266: }
267:
268: /**
269: * Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
270: *
271: */
272: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="KeyReference",scope=ReferenceList.class)
273: public JAXBElement<ReferenceType> createReferenceListKeyReference(
274: ReferenceType value) {
275: return new JAXBElement<ReferenceType>(
276: _ReferenceListKeyReference_QNAME, ReferenceType.class,
277: ReferenceList.class, value);
278: }
279:
280: /**
281: * Create an instance of {@link JAXBElement }{@code <}{@link byte[]}{@code >}}
282: *
283: */
284: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="KA-Nonce",scope=AgreementMethodType.class)
285: public JAXBElement<byte[]> createAgreementMethodTypeKANonce(
286: byte[] value) {
287: return new JAXBElement<byte[]>(
288: _AgreementMethodTypeKANonce_QNAME, byte[].class,
289: AgreementMethodType.class, ((byte[]) value));
290: }
291:
292: /**
293: * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
294: *
295: */
296: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="OriginatorKeyInfo",scope=AgreementMethodType.class)
297: public JAXBElement<KeyInfoType> createAgreementMethodTypeOriginatorKeyInfo(
298: KeyInfoType value) {
299: return new JAXBElement<KeyInfoType>(
300: _AgreementMethodTypeOriginatorKeyInfo_QNAME,
301: KeyInfoType.class, AgreementMethodType.class, value);
302: }
303:
304: /**
305: * Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
306: *
307: */
308: @XmlElementDecl(namespace="http://www.w3.org/2001/04/xmlenc#",name="RecipientKeyInfo",scope=AgreementMethodType.class)
309: public JAXBElement<KeyInfoType> createAgreementMethodTypeRecipientKeyInfo(
310: KeyInfoType value) {
311: return new JAXBElement<KeyInfoType>(
312: _AgreementMethodTypeRecipientKeyInfo_QNAME,
313: KeyInfoType.class, AgreementMethodType.class, value);
314: }
315:
316: }
|