1 8 9 package com.sun.xml.dsig.core; 10 11 import java.math.BigInteger ; 12 import javax.xml.bind.JAXBElement; 13 import javax.xml.bind.annotation.XmlElementDecl; 14 import javax.xml.bind.annotation.XmlRegistry; 15 import javax.xml.namespace.QName ; 16 import com.sun.xml.dsig.core.CanonicalizationMethodType; 17 import com.sun.xml.dsig.core.DSAKeyValueType; 18 import com.sun.xml.dsig.core.DigestMethodType; 19 import com.sun.xml.dsig.core.KeyInfoType; 20 import com.sun.xml.dsig.core.KeyValueType; 21 import com.sun.xml.dsig.core.ManifestType; 22 import com.sun.xml.dsig.core.ObjectFactory; 23 import com.sun.xml.dsig.core.ObjectType; 24 import com.sun.xml.dsig.core.PGPDataType; 25 import com.sun.xml.dsig.core.RSAKeyValueType; 26 import com.sun.xml.dsig.core.ReferenceType; 27 import com.sun.xml.dsig.core.RetrievalMethodType; 28 import com.sun.xml.dsig.core.SPKIDataType; 29 import com.sun.xml.dsig.core.SignatureMethodType; 30 import com.sun.xml.dsig.core.SignaturePropertiesType; 31 import com.sun.xml.dsig.core.SignaturePropertyType; 32 import com.sun.xml.dsig.core.SignatureType; 33 import com.sun.xml.dsig.core.SignatureValueType; 34 import com.sun.xml.dsig.core.SignedInfoType; 35 import com.sun.xml.dsig.core.TransformType; 36 import com.sun.xml.dsig.core.TransformsType; 37 import com.sun.xml.dsig.core.X509DataType; 38 import com.sun.xml.dsig.core.X509IssuerSerialType; 39 40 41 55 @XmlRegistry 56 public class ObjectFactory { 57 58 private final static QName _X509DataTypeX509SKI_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509SKI"); 59 private final static QName _X509DataTypeX509Certificate_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509Certificate"); 60 private final static QName _X509DataTypeX509IssuerSerial_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509IssuerSerial"); 61 private final static QName _X509DataTypeX509SubjectName_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509SubjectName"); 62 private final static QName _X509DataTypeX509CRL_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509CRL"); 63 private final static QName _TransformTypeXPath_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "XPath"); 64 private final static QName _SignatureMethodTypeHMACOutputLength_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "HMACOutputLength"); 65 private final static QName _SignatureMethod_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SignatureMethod"); 66 private final static QName _X509Data_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "X509Data"); 67 private final static QName _KeyInfo_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "KeyInfo"); 68 private final static QName _Reference_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Reference"); 69 private final static QName _RetrievalMethod_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "RetrievalMethod"); 70 private final static QName _SignatureValue_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SignatureValue"); 71 private final static QName _SignedInfo_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SignedInfo"); 72 private final static QName _SignatureProperty_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SignatureProperty"); 73 private final static QName _SignatureProperties_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SignatureProperties"); 74 private final static QName _SPKIData_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SPKIData"); 75 private final static QName _DigestMethod_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "DigestMethod"); 76 private final static QName _PGPData_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "PGPData"); 77 private final static QName _Transform_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Transform"); 78 private final static QName _MgmtData_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "MgmtData"); 79 private final static QName _CanonicalizationMethod_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "CanonicalizationMethod"); 80 private final static QName _KeyName_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "KeyName"); 81 private final static QName _Transforms_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Transforms"); 82 private final static QName _Manifest_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Manifest"); 83 private final static QName _KeyValue_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "KeyValue"); 84 private final static QName _Signature_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Signature"); 85 private final static QName _Object_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "Object"); 86 private final static QName _RSAKeyValue_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "RSAKeyValue"); 87 private final static QName _DSAKeyValue_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "DSAKeyValue"); 88 private final static QName _DigestValue_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "DigestValue"); 89 private final static QName _SPKIDataTypeSPKISexp_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "SPKISexp"); 90 private final static QName _PGPDataTypePGPKeyPacket_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "PGPKeyPacket"); 91 private final static QName _PGPDataTypePGPKeyID_QNAME = new QName ("http://www.w3.org/2000/09/xmldsig#", "PGPKeyID"); 92 93 97 public ObjectFactory() { 98 } 99 100 104 public ManifestType createManifestType() { 105 return new ManifestType(); 106 } 107 108 112 public SignatureMethodType createSignatureMethodType() { 113 return new SignatureMethodType(); 114 } 115 116 120 public DigestMethodType createDigestMethodType() { 121 return new DigestMethodType(); 122 } 123 124 128 public X509IssuerSerialType createX509IssuerSerialType() { 129 return new X509IssuerSerialType(); 130 } 131 132 136 public SignatureType createSignatureType() { 137 return new SignatureType(); 138 } 139 140 144 public DSAKeyValueType createDSAKeyValueType() { 145 return new DSAKeyValueType(); 146 } 147 148 152 public SignedInfoType createSignedInfoType() { 153 return new SignedInfoType(); 154 } 155 156 160 public SPKIDataType createSPKIDataType() { 161 return new SPKIDataType(); 162 } 163 164 168 public PGPDataType createPGPDataType() { 169 return new PGPDataType(); 170 } 171 172 176 public SignaturePropertyType createSignaturePropertyType() { 177 return new SignaturePropertyType(); 178 } 179 180 184 public RetrievalMethodType createRetrievalMethodType() { 185 return new RetrievalMethodType(); 186 } 187 188 192 public RSAKeyValueType createRSAKeyValueType() { 193 return new RSAKeyValueType(); 194 } 195 196 200 public KeyInfoType createKeyInfoType() { 201 return new KeyInfoType(); 202 } 203 204 208 public TransformType createTransformType() { 209 return new TransformType(); 210 } 211 212 216 public ReferenceType createReferenceType() { 217 return new ReferenceType(); 218 } 219 220 224 public X509DataType createX509DataType() { 225 return new X509DataType(); 226 } 227 228 232 public SignatureValueType createSignatureValueType() { 233 return new SignatureValueType(); 234 } 235 236 240 public CanonicalizationMethodType createCanonicalizationMethodType() { 241 return new CanonicalizationMethodType(); 242 } 243 244 248 public KeyValueType createKeyValueType() { 249 return new KeyValueType(); 250 } 251 252 256 public TransformsType createTransformsType() { 257 return new TransformsType(); 258 } 259 260 264 public ObjectType createObjectType() { 265 return new ObjectType(); 266 } 267 268 272 public SignaturePropertiesType createSignaturePropertiesType() { 273 return new SignaturePropertiesType(); 274 } 275 276 280 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SKI", scope = X509DataType.class) 281 public JAXBElement<byte[]> createX509DataTypeX509SKI(byte[] value) { 282 return new JAXBElement<byte[]>(_X509DataTypeX509SKI_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); 283 } 284 285 289 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Certificate", scope = X509DataType.class) 290 public JAXBElement<byte[]> createX509DataTypeX509Certificate(byte[] value) { 291 return new JAXBElement<byte[]>(_X509DataTypeX509Certificate_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); 292 } 293 294 298 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509IssuerSerial", scope = X509DataType.class) 299 public JAXBElement<X509IssuerSerialType> createX509DataTypeX509IssuerSerial(X509IssuerSerialType value) { 300 return new JAXBElement<X509IssuerSerialType>(_X509DataTypeX509IssuerSerial_QNAME, X509IssuerSerialType.class, X509DataType.class, value); 301 } 302 303 307 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509SubjectName", scope = X509DataType.class) 308 public JAXBElement<String > createX509DataTypeX509SubjectName(String value) { 309 return new JAXBElement<String >(_X509DataTypeX509SubjectName_QNAME, String .class, X509DataType.class, value); 310 } 311 312 316 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509CRL", scope = X509DataType.class) 317 public JAXBElement<byte[]> createX509DataTypeX509CRL(byte[] value) { 318 return new JAXBElement<byte[]>(_X509DataTypeX509CRL_QNAME, byte[].class, X509DataType.class, ((byte[]) value)); 319 } 320 321 325 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "XPath", scope = TransformType.class) 326 public JAXBElement<String > createTransformTypeXPath(String value) { 327 return new JAXBElement<String >(_TransformTypeXPath_QNAME, String .class, TransformType.class, value); 328 } 329 330 334 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "HMACOutputLength", scope = SignatureMethodType.class) 335 public JAXBElement<BigInteger > createSignatureMethodTypeHMACOutputLength(BigInteger value) { 336 return new JAXBElement<BigInteger >(_SignatureMethodTypeHMACOutputLength_QNAME, BigInteger .class, SignatureMethodType.class, value); 337 } 338 339 343 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureMethod") 344 public JAXBElement<SignatureMethodType> createSignatureMethod(SignatureMethodType value) { 345 return new JAXBElement<SignatureMethodType>(_SignatureMethod_QNAME, SignatureMethodType.class, null, value); 346 } 347 348 352 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "X509Data") 353 public JAXBElement<X509DataType> createX509Data(X509DataType value) { 354 return new JAXBElement<X509DataType>(_X509Data_QNAME, X509DataType.class, null, value); 355 } 356 357 361 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyInfo") 362 public JAXBElement<KeyInfoType> createKeyInfo(KeyInfoType value) { 363 return new JAXBElement<KeyInfoType>(_KeyInfo_QNAME, KeyInfoType.class, null, value); 364 } 365 366 370 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Reference") 371 public JAXBElement<ReferenceType> createReference(ReferenceType value) { 372 return new JAXBElement<ReferenceType>(_Reference_QNAME, ReferenceType.class, null, value); 373 } 374 375 379 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RetrievalMethod") 380 public JAXBElement<RetrievalMethodType> createRetrievalMethod(RetrievalMethodType value) { 381 return new JAXBElement<RetrievalMethodType>(_RetrievalMethod_QNAME, RetrievalMethodType.class, null, value); 382 } 383 384 388 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureValue") 389 public JAXBElement<SignatureValueType> createSignatureValue(SignatureValueType value) { 390 return new JAXBElement<SignatureValueType>(_SignatureValue_QNAME, SignatureValueType.class, null, value); 391 } 392 393 397 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignedInfo") 398 public JAXBElement<SignedInfoType> createSignedInfo(SignedInfoType value) { 399 return new JAXBElement<SignedInfoType>(_SignedInfo_QNAME, SignedInfoType.class, null, value); 400 } 401 402 406 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperty") 407 public JAXBElement<SignaturePropertyType> createSignatureProperty(SignaturePropertyType value) { 408 return new JAXBElement<SignaturePropertyType>(_SignatureProperty_QNAME, SignaturePropertyType.class, null, value); 409 } 410 411 415 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SignatureProperties") 416 public JAXBElement<SignaturePropertiesType> createSignatureProperties(SignaturePropertiesType value) { 417 return new JAXBElement<SignaturePropertiesType>(_SignatureProperties_QNAME, SignaturePropertiesType.class, null, value); 418 } 419 420 424 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKIData") 425 public JAXBElement<SPKIDataType> createSPKIData(SPKIDataType value) { 426 return new JAXBElement<SPKIDataType>(_SPKIData_QNAME, SPKIDataType.class, null, value); 427 } 428 429 433 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestMethod") 434 public JAXBElement<DigestMethodType> createDigestMethod(DigestMethodType value) { 435 return new JAXBElement<DigestMethodType>(_DigestMethod_QNAME, DigestMethodType.class, null, value); 436 } 437 438 442 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPData") 443 public JAXBElement<PGPDataType> createPGPData(PGPDataType value) { 444 return new JAXBElement<PGPDataType>(_PGPData_QNAME, PGPDataType.class, null, value); 445 } 446 447 451 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transform") 452 public JAXBElement<TransformType> createTransform(TransformType value) { 453 return new JAXBElement<TransformType>(_Transform_QNAME, TransformType.class, null, value); 454 } 455 456 460 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "MgmtData") 461 public JAXBElement<String > createMgmtData(String value) { 462 return new JAXBElement<String >(_MgmtData_QNAME, String .class, null, value); 463 } 464 465 469 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "CanonicalizationMethod") 470 public JAXBElement<CanonicalizationMethodType> createCanonicalizationMethod(CanonicalizationMethodType value) { 471 return new JAXBElement<CanonicalizationMethodType>(_CanonicalizationMethod_QNAME, CanonicalizationMethodType.class, null, value); 472 } 473 474 478 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyName") 479 public JAXBElement<String > createKeyName(String value) { 480 return new JAXBElement<String >(_KeyName_QNAME, String .class, null, value); 481 } 482 483 487 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Transforms") 488 public JAXBElement<TransformsType> createTransforms(TransformsType value) { 489 return new JAXBElement<TransformsType>(_Transforms_QNAME, TransformsType.class, null, value); 490 } 491 492 496 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Manifest") 497 public JAXBElement<ManifestType> createManifest(ManifestType value) { 498 return new JAXBElement<ManifestType>(_Manifest_QNAME, ManifestType.class, null, value); 499 } 500 501 505 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "KeyValue") 506 public JAXBElement<KeyValueType> createKeyValue(KeyValueType value) { 507 return new JAXBElement<KeyValueType>(_KeyValue_QNAME, KeyValueType.class, null, value); 508 } 509 510 514 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") 515 public JAXBElement<SignatureType> createSignature(SignatureType value) { 516 return new JAXBElement<SignatureType>(_Signature_QNAME, SignatureType.class, null, value); 517 } 518 519 523 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Object") 524 public JAXBElement<ObjectType> createObject(ObjectType value) { 525 return new JAXBElement<ObjectType>(_Object_QNAME, ObjectType.class, null, value); 526 } 527 528 532 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "RSAKeyValue") 533 public JAXBElement<RSAKeyValueType> createRSAKeyValue(RSAKeyValueType value) { 534 return new JAXBElement<RSAKeyValueType>(_RSAKeyValue_QNAME, RSAKeyValueType.class, null, value); 535 } 536 537 541 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DSAKeyValue") 542 public JAXBElement<DSAKeyValueType> createDSAKeyValue(DSAKeyValueType value) { 543 return new JAXBElement<DSAKeyValueType>(_DSAKeyValue_QNAME, DSAKeyValueType.class, null, value); 544 } 545 546 550 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "DigestValue") 551 public JAXBElement<byte[]> createDigestValue(byte[] value) { 552 return new JAXBElement<byte[]>(_DigestValue_QNAME, byte[].class, null, ((byte[]) value)); 553 } 554 555 559 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "SPKISexp", scope = SPKIDataType.class) 560 public JAXBElement<byte[]> createSPKIDataTypeSPKISexp(byte[] value) { 561 return new JAXBElement<byte[]>(_SPKIDataTypeSPKISexp_QNAME, byte[].class, SPKIDataType.class, ((byte[]) value)); 562 } 563 564 568 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyPacket", scope = PGPDataType.class) 569 public JAXBElement<byte[]> createPGPDataTypePGPKeyPacket(byte[] value) { 570 return new JAXBElement<byte[]>(_PGPDataTypePGPKeyPacket_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); 571 } 572 573 577 @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "PGPKeyID", scope = PGPDataType.class) 578 public JAXBElement<byte[]> createPGPDataTypePGPKeyID(byte[] value) { 579 return new JAXBElement<byte[]>(_PGPDataTypePGPKeyID_QNAME, byte[].class, PGPDataType.class, ((byte[]) value)); 580 } 581 582 } 583 | Popular Tags |