com.sun.xml.security.core.dsig.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.01.20 at 03:59:03 PM IST
//
package com.sun.xml.security.core.dsig;
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.ws.security.opt.crypto.dsig.*;
import com.sun.xml.ws.security.opt.crypto.dsig.keyinfo.*;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.sun.xml.wss.dsig.impl 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 _Object_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Object");
private final static QName _SPKIData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKIData");
private final static QName _SignatureMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod");
private final static QName _RSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue");
private final static QName _RetrievalMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod");
private final static QName _SignatureValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureValue");
private final static QName _KeyName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyName");
private final static QName _DSAKeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue");
private final static QName _DigestMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod");
private final static QName _KeyValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyValue");
private final static QName _Transforms_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transforms");
private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature");
private final static QName _X509Data_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Data");
private final static QName _Manifest_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Manifest");
private final static QName _SignedInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignedInfo");
private final static QName _KeyInfo_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "KeyInfo");
private final static QName _PGPData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPData");
private final static QName _SignatureProperty_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty");
private final static QName _SignatureProperties_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties");
private final static QName _Reference_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Reference");
private final static QName _DigestValue_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue");
private final static QName _Transform_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Transform");
private final static QName _MgmtData_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "MgmtData");
private final static QName _CanonicalizationMethod_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod");
private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength");
private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket");
private final static QName _PGPDataTypePGPKeyID_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID");
private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "SPKISexp");
private final static QName _TransformTypeXPath_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "XPath");
private final static QName _X509DataTypeX509SKI_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SKI");
private final static QName _X509DataTypeX509Certificate_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509Certificate");
private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial");
private final static QName _X509DataTypeX509SubjectName_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName");
private final static QName _X509DataTypeX509CRL_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "X509CRL");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.sun.xml.wss.dsig.impl
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link DSAKeyValue }
*
*/
public DSAKeyValue createDSAKeyValue() {
return new DSAKeyValue();
}
/**
* Create an instance of {@link SignatureValue }
*
*/
// public SignatureValue createSignatureValue() {
// return new SignatureValue();
// }
/**
* Create an instance of {@link PGPData }
*
*/
public PGPData createPGPData() {
return new PGPData();
}
/**
* Create an instance of {@link RetrievalMethod }
*
*/
public RetrievalMethod createRetrievalMethod() {
return new RetrievalMethod();
}
/**
* Create an instance of {@link SignatureProperty }
*
*/
public SignatureProperty createSignatureProperty() {
return new SignatureProperty();
}
/**
* Create an instance of {@link DigestMethod }
*
*/
public DigestMethod createDigestMethod() {
return new DigestMethod();
}
/**
* Create an instance of {@link SignedInfo }
*
*/
public SignedInfo createSignedInfo() {
return new SignedInfo();
}
/**
* Create an instance of {@link Signature }
*
*/
public Signature createSignature() {
return new Signature();
}
/**
* Create an instance of {@link SignatureProperties }
*
*/
public SignatureProperties createSignatureProperties() {
return new SignatureProperties();
}
/**
* Create an instance of {@link Transforms }
*
*/
public Transforms createTransforms() {
return new Transforms();
}
/**
* Create an instance of {@link SignatureMethod }
*
*/
public SignatureMethod createSignatureMethod() {
return new SignatureMethod();
}
/**
* Create an instance of {@link Manifest }
*
*/
public Manifest createManifest() {
return new Manifest();
}
/**
* Create an instance of {@link ObjectType }
*
*/
public ObjectType createObjectType() {
return new ObjectType();
}
/**
* Create an instance of {@link SPKIData }
*
*/
public SPKIData createSPKIData() {
return new SPKIData();
}
/**
* Create an instance of {@link RSAKeyValue }
*
*/
public RSAKeyValue createRSAKeyValue() {
return new RSAKeyValue();
}
/**
* Create an instance of {@link X509IssuerSerial }
*
*/
public X509IssuerSerial createX509IssuerSerial() {
return new X509IssuerSerial();
}
/**
* Create an instance of {@link Reference }
*
*/
public Reference createReference() {
return new Reference();
}
/**
* Create an instance of {@link Transform }
*
*/
public Transform createTransform() {
return new Transform();
}
/**
* Create an instance of {@link KeyInfo }
*
*/
public KeyInfo createKeyInfo() {
return new KeyInfo();
}
/**
* Create an instance of {@link CanonicalizationMethod }
*
*/
// public CanonicalizationMethod createCanonicalizationMethod() {
// return new CanonicalizationMethod();
// }
/**
* Create an instance of {@link X509Data }
*
*/
public X509Data createX509Data() {
return new X509Data();
}
/**
* Create an instance of {@link KeyValue }
*
*/
public KeyValue createKeyValue() {
return new KeyValue();
}
public InclusiveNamespacesType createInclusiveNamespaces() {
return new InclusiveNamespacesType();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ObjectType }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object")
public JAXBElement createObject(ObjectType value) {
return new JAXBElement(_Object_QNAME, ObjectType.class, null, value);
}
@XmlElementDecl(namespace = "http://www.w3.org/2001/10/xml-exc-c14n#", name = "InclusiveNamespaces")
public JAXBElement createInclusiveNamespaces(InclusiveNamespacesType value) {
QName qname = new QName("http://www.w3.org/2001/10/xml-exc-c14n#", "InclusiveNamespaces");
return new JAXBElement(qname, InclusiveNamespacesType.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SPKIData }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData")
public JAXBElement createSPKIData(SPKIData value) {
return new JAXBElement(_SPKIData_QNAME, SPKIData.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SignatureMethod }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod")
public JAXBElement createSignatureMethod(SignatureMethod value) {
return new JAXBElement(_SignatureMethod_QNAME, SignatureMethod.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RSAKeyValue }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue")
public JAXBElement createRSAKeyValue(RSAKeyValue value) {
return new JAXBElement(_RSAKeyValue_QNAME, RSAKeyValue.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RetrievalMethod }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod")
public JAXBElement createRetrievalMethod(RetrievalMethod value) {
return new JAXBElement(_RetrievalMethod_QNAME, RetrievalMethod.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SignatureValue }{@code >}}
*
*/
// @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue")
// public JAXBElement createSignatureValue(SignatureValue value) {
// return new JAXBElement(_SignatureValue_QNAME, SignatureValue.class, null, value);
// }
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName")
public JAXBElement createKeyName(String value) {
return new JAXBElement(_KeyName_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DSAKeyValue }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue")
public JAXBElement createDSAKeyValue(DSAKeyValue value) {
return new JAXBElement(_DSAKeyValue_QNAME, DSAKeyValue.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DigestMethod }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod")
public JAXBElement createDigestMethod(DigestMethod value) {
return new JAXBElement(_DigestMethod_QNAME, DigestMethod.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyValue }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue")
public JAXBElement createKeyValue(KeyValue value) {
return new JAXBElement(_KeyValue_QNAME, KeyValue.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Transforms }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms")
public JAXBElement createTransforms(Transforms value) {
return new JAXBElement(_Transforms_QNAME, Transforms.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Signature }{@code >}}
*
*/
// @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature")
// public JAXBElement createSignature(Signature value) {
// return new JAXBElement(_Signature_QNAME, Signature.class, null, value);
// }
/**
* Create an instance of {@link JAXBElement }{@code <}{@link X509Data }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data")
public JAXBElement createX509Data(X509Data value) {
return new JAXBElement(_X509Data_QNAME, X509Data.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Manifest }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest")
public JAXBElement createManifest(Manifest value) {
return new JAXBElement(_Manifest_QNAME, Manifest.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SignedInfo }{@code >}}
*
*/
// @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo")
// public JAXBElement createSignedInfo(SignedInfo value) {
// return new JAXBElement(_SignedInfo_QNAME, SignedInfo.class, null, value);
// }
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KeyInfo }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo")
public JAXBElement createKeyInfo(KeyInfo value) {
return new JAXBElement(_KeyInfo_QNAME, KeyInfo.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PGPData }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData")
public JAXBElement createPGPData(PGPData value) {
return new JAXBElement(_PGPData_QNAME, PGPData.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SignatureProperty }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty")
public JAXBElement createSignatureProperty(SignatureProperty value) {
return new JAXBElement(_SignatureProperty_QNAME, SignatureProperty.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SignatureProperties }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties")
public JAXBElement createSignatureProperties(SignatureProperties value) {
return new JAXBElement(_SignatureProperties_QNAME, SignatureProperties.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Reference }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference")
public JAXBElement createReference(Reference value) {
return new JAXBElement(_Reference_QNAME, Reference.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue")
public JAXBElement createDigestValue(byte[] value) {
return new JAXBElement(_DigestValue_QNAME, byte[].class, null, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Transform }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform")
public JAXBElement createTransform(Transform value) {
return new JAXBElement(_Transform_QNAME, Transform.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData")
public JAXBElement createMgmtData(String value) {
return new JAXBElement(_MgmtData_QNAME, String.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link CanonicalizationMethod }{@code >}}
*
*/
// @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod")
// public JAXBElement createCanonicalizationMethod(CanonicalizationMethod value) {
// return new JAXBElement(_CanonicalizationMethod_QNAME, CanonicalizationMethod.class, null, value);
// }
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class)
public JAXBElement createSignatureMethodTypeHMACOutputLength(BigInteger value) {
return new JAXBElement(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger.class, SignatureMethod.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class)
public JAXBElement createPGPDataTypePGPKeyPacket(byte[] value) {
return new JAXBElement(_PGPDataTypePGPKeyPacket_QNAME, byte[].class, PGPData.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class)
public JAXBElement createPGPDataTypePGPKeyID(byte[] value) {
return new JAXBElement(_PGPDataTypePGPKeyID_QNAME, byte[].class, PGPData.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class)
public JAXBElement createSPKIDataTypeSPKISexp(byte[] value) {
return new JAXBElement(_SPKIDataTypeSPKISexp_QNAME, byte[].class, SPKIData.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class)
public JAXBElement createTransformTypeXPath(String value) {
return new JAXBElement(_TransformTypeXPath_QNAME, String.class, Transform.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class)
public JAXBElement createX509DataTypeX509SKI(byte[] value) {
return new JAXBElement(_X509DataTypeX509SKI_QNAME, byte[].class, X509Data.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class)
public JAXBElement createX509DataTypeX509Certificate(byte[] value) {
return new JAXBElement(_X509DataTypeX509Certificate_QNAME, byte[].class, X509Data.class, ((byte[]) value));
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link X509IssuerSerial }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509Data.class)
public JAXBElement createX509DataTypeX509IssuerSerial(X509IssuerSerial value) {
return new JAXBElement(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerial.class, X509Data.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class)
public JAXBElement createX509DataTypeX509SubjectName(String value) {
return new JAXBElement(_X509DataTypeX509SubjectName_QNAME, String.class, X509Data.class, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}possible object is byte[]{@code >}}
*
*/
@XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class)
public JAXBElement createX509DataTypeX509CRL(byte[] value) {
return new JAXBElement(_X509DataTypeX509CRL_QNAME, byte[].class, X509Data.class, ((byte[]) value));
}
}