com.sun.xml.security.core.xenc.ObjectFactory Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 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, v2.0-b24-ea3
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2006.02.03 at 04:10:33 PM IST
//
package com.sun.xml.security.core.xenc;
import java.math.BigInteger;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlElementDecl;
import jakarta.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
import com.sun.xml.security.core.dsig.KeyInfoType;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.sun.xml.security.core.xenc package.
* An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _EncryptionMethodTypeOAEPparams_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OAEPparams");
private final static QName _EncryptionMethodTypeKeySize_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeySize");
private final static QName _AgreementMethod_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "AgreementMethod");
private final static QName _EncryptionProperties_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperties");
private final static QName _CipherReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherReference");
private final static QName _EncryptionProperty_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptionProperty");
private final static QName _EncryptedKey_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedKey");
private final static QName _CipherData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "CipherData");
private final static QName _EncryptedData_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "EncryptedData");
private final static QName _ReferenceListDataReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "DataReference");
private final static QName _ReferenceListKeyReference_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KeyReference");
private final static QName _AgreementMethodTypeKANonce_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "KA-Nonce");
private final static QName _AgreementMethodTypeOriginatorKeyInfo_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "OriginatorKeyInfo");
private final static QName _AgreementMethodTypeRecipientKeyInfo_QNAME = new QName("http://www.w3.org/2001/04/xmlenc#", "RecipientKeyInfo");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.security.core.xenc
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link EncryptionPropertiesType }
*
*/
public EncryptionPropertiesType createEncryptionPropertiesType() {
return new EncryptionPropertiesType();
}
/**
* Create an instance of {@link EncryptionPropertyType }
*
*/
public EncryptionPropertyType createEncryptionPropertyType() {
return new EncryptionPropertyType();
}
/**
* Create an instance of {@link EncryptedDataType }
*
*/
public EncryptedDataType createEncryptedDataType() {
return new EncryptedDataType();
}
/**
* Create an instance of {@link CipherReferenceType }
*
*/
public CipherReferenceType createCipherReferenceType() {
return new CipherReferenceType();
}
/**
* Create an instance of {@link EncryptionMethodType }
*
*/
public EncryptionMethodType createEncryptionMethodType() {
return new EncryptionMethodType();
}
/**
* Create an instance of {@link TransformsType }
*
*/
public TransformsType createTransformsType() {
return new TransformsType();
}
/**
* Create an instance of {@link EncryptedKeyType }
*
*/
public EncryptedKeyType createEncryptedKeyType() {
return new EncryptedKeyType();
}
/**
* Create an instance of {@link ReferenceType }
*
*/
public ReferenceType createReferenceType() {
return new ReferenceType();
}
/**
* Create an instance of {@link AgreementMethodType }
*
*/
public AgreementMethodType createAgreementMethodType() {
return new AgreementMethodType();
}
/**
* Create an instance of {@link CipherDataType }
*
*/
public CipherDataType createCipherDataType() {
return new CipherDataType();
}
/**
* Create an instance of {@link ReferenceList }
*
*/
public ReferenceList createReferenceList() {
return new ReferenceList();
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OAEPparams", scope = EncryptionMethodType.class)
public JAXBElement createEncryptionMethodTypeOAEPparams(byte[] value) {
return new JAXBElement(_EncryptionMethodTypeOAEPparams_QNAME, byte[].class, EncryptionMethodType.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is BigInteger{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeySize", scope = EncryptionMethodType.class)
public JAXBElement createEncryptionMethodTypeKeySize(BigInteger value) {
return new JAXBElement(_EncryptionMethodTypeKeySize_QNAME, BigInteger.class, EncryptionMethodType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link AgreementMethodType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "AgreementMethod")
public JAXBElement createAgreementMethod(AgreementMethodType value) {
return new JAXBElement(_AgreementMethod_QNAME, AgreementMethodType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertiesType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperties")
public JAXBElement createEncryptionProperties(EncryptionPropertiesType value) {
return new JAXBElement(_EncryptionProperties_QNAME, EncryptionPropertiesType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CipherReferenceType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherReference")
public JAXBElement createCipherReference(CipherReferenceType value) {
return new JAXBElement(_CipherReference_QNAME, CipherReferenceType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptionPropertyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptionProperty")
public JAXBElement createEncryptionProperty(EncryptionPropertyType value) {
return new JAXBElement(_EncryptionProperty_QNAME, EncryptionPropertyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptedKeyType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedKey")
public JAXBElement createEncryptedKey(EncryptedKeyType value) {
return new JAXBElement(_EncryptedKey_QNAME, EncryptedKeyType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CipherDataType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "CipherData")
public JAXBElement createCipherData(CipherDataType value) {
return new JAXBElement(_CipherData_QNAME, CipherDataType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link EncryptedDataType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "EncryptedData")
public JAXBElement createEncryptedData(EncryptedDataType value) {
return new JAXBElement(_EncryptedData_QNAME, EncryptedDataType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "DataReference", scope = ReferenceList.class)
public JAXBElement createReferenceListDataReference(ReferenceType value) {
return new JAXBElement(_ReferenceListDataReference_QNAME, ReferenceType.class, ReferenceList.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReferenceType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KeyReference", scope = ReferenceList.class)
public JAXBElement createReferenceListKeyReference(ReferenceType value) {
return new JAXBElement(_ReferenceListKeyReference_QNAME, ReferenceType.class, ReferenceList.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "KA-Nonce", scope = AgreementMethodType.class)
public JAXBElement createAgreementMethodTypeKANonce(byte[] value) {
return new JAXBElement(_AgreementMethodTypeKANonce_QNAME, byte[].class, AgreementMethodType.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "OriginatorKeyInfo", scope = AgreementMethodType.class)
public JAXBElement createAgreementMethodTypeOriginatorKeyInfo(KeyInfoType value) {
return new JAXBElement(_AgreementMethodTypeOriginatorKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyInfoType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2001/04/xmlenc#", name = "RecipientKeyInfo", scope = AgreementMethodType.class)
public JAXBElement createAgreementMethodTypeRecipientKeyInfo(KeyInfoType value) {
return new JAXBElement(_AgreementMethodTypeRecipientKeyInfo_QNAME, KeyInfoType.class, AgreementMethodType.class, value);
}
}