public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("urn:liberty:ac:2003-08", "KeyStorage");
   super.serializeURIs(context);
   context.endNamespaceDecls();
   super.serializeAttributes(context);
   context.endAttributes();
   super.serializeBody(context);
   context.endElement();
 }
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("http://schemas.xmlsoap.org/ws/2003/06/secext", "KeyIdentifier");
   super.serializeURIs(context);
   context.endNamespaceDecls();
   super.serializeAttributes(context);
   context.endAttributes();
   super.serializeBody(context);
   context.endElement();
 }
Example #3
0
 public void serializeURIs(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Transforms != null) {
     if (_Transforms instanceof javax.xml.bind.Element) {
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
     }
   }
   if (_DigestMethod instanceof javax.xml.bind.Element) {
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
   }
 }
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   context.startElement("http://www.w3.org/2000/09/xmldsig#", "SPKISexp");
   context.endNamespaceDecls();
   context.endAttributes();
   try {
     context.text(com.sun.msv.datatype.xsd.Base64BinaryType.save(((byte[]) _Value)), "Value");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endElement();
 }
Example #5
0
 public void serializeURIs(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Actor != null) {
     context
         .getNamespaceContext()
         .declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", null, true);
   }
   if (has_MustUnderstand) {
     context
         .getNamespaceContext()
         .declareNamespace("http://schemas.xmlsoap.org/soap/envelope/", null, true);
   }
 }
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   super.serializeBody(context);
   context.startElement("urn:liberty:sec:2003-08", "NumberOfUses");
   context.endNamespaceDecls();
   context.endAttributes();
   try {
     context.text(
         javax.xml.bind.DatatypeConverter.printInteger(((java.math.BigInteger) _NumberOfUses)),
         "NumberOfUses");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endElement();
 }
Example #7
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Any == null) ? 0 : _Any.size());
   context.startAttribute("", "URI");
   try {
     context.text(((java.lang.String) _URI), "URI");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endAttribute();
   while (idx1 != len1) {
     idx1 += 1;
   }
 }
Example #8
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Any == null) ? 0 : _Any.size());
   while (idx1 != len1) {
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _Any.get(idx1++)), "Any");
   }
 }
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_SPKISexpAndAny == null) ? 0 : _SPKISexpAndAny.size());
   while (idx1 != len1) {
     {
       java.lang.Object o = _SPKISexpAndAny.get(idx1);
       if (o instanceof com.sun.xml.bind.JAXBObject) {
         context.childAsBody(
             ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
       } else {
         if (o instanceof java.lang.Object) {
           context.childAsBody(
               ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
         } else {
           com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util.handleTypeMismatchError(
               context, this, "SPKISexpAndAny", o);
         }
       }
     }
     for (int _0 = 1; ((_0 > 0) && (idx1 != len1)); _0--) {
       {
         java.lang.Object o = _SPKISexpAndAny.get(idx1);
         if (o instanceof com.sun.xml.bind.JAXBObject) {
           context.childAsBody(
               ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
         } else {
           if (o instanceof java.lang.Object) {
             context.childAsBody(
                 ((com.sun.xml.bind.JAXBObject) _SPKISexpAndAny.get(idx1++)), "SPKISexpAndAny");
           } else {
             com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
                 .handleTypeMismatchError(context, this, "SPKISexpAndAny", o);
           }
         }
       }
     }
   }
 }
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_IssueInstant != null) {
     context.startAttribute("", "IssueInstant");
     try {
       context.text(
           com.sun.msv.datatype.xsd.DateTimeType.theInstance.serializeJavaObject(
               ((java.util.Calendar) _IssueInstant), null),
           "IssueInstant");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Nonce != null) {
     context.startAttribute("", "Nonce");
     try {
       context.text(((java.lang.String) _Nonce), "Nonce");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   super.serializeAttributes(context);
 }
Example #11
0
 public void serializeURIs(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Extension == null) ? 0 : _Extension.size());
   while (idx1 != len1) {
     if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
     } else {
       idx1 += 1;
     }
   }
 }
Example #12
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Transform == null) ? 0 : _Transform.size());
   while (idx1 != len1) {
     if (_Transform.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transform.get(idx1++)), "Transform");
     } else {
       context.startElement("http://www.w3.org/2000/09/xmldsig#", "Transform");
       int idx_0 = idx1;
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Transform.get(idx_0++)), "Transform");
       context.endNamespaceDecls();
       int idx_1 = idx1;
       context.childAsAttributes(
           ((com.sun.xml.bind.JAXBObject) _Transform.get(idx_1++)), "Transform");
       context.endAttributes();
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transform.get(idx1++)), "Transform");
       context.endElement();
     }
   }
 }
Example #13
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   int idx1 = 0;
   final int len1 = ((_Extension == null) ? 0 : _Extension.size());
   while (idx1 != len1) {
     if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
     } else {
       context.startElement("urn:liberty:ac:2003-08", "Extension");
       int idx_0 = idx1;
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx_0++)), "Extension");
       context.endNamespaceDecls();
       int idx_1 = idx1;
       context.childAsAttributes(
           ((com.sun.xml.bind.JAXBObject) _Extension.get(idx_1++)), "Extension");
       context.endAttributes();
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1++)), "Extension");
       context.endElement();
     }
   }
 }
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_DNSAddress != null) {
     context.startAttribute("", "DNSAddress");
     try {
       context.text(((java.lang.String) _DNSAddress), "DNSAddress");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_IPAddress != null) {
     context.startAttribute("", "IPAddress");
     try {
       context.text(((java.lang.String) _IPAddress), "IPAddress");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
 }
Example #15
0
 public void serializeBody(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Transforms != null) {
     if (_Transforms instanceof javax.xml.bind.Element) {
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
     } else {
       context.startElement("http://www.w3.org/2000/09/xmldsig#", "Transforms");
       context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
       context.endNamespaceDecls();
       context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
       context.endAttributes();
       context.childAsBody(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
       context.endElement();
     }
   }
   if (_DigestMethod instanceof javax.xml.bind.Element) {
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
   } else {
     context.startElement("http://www.w3.org/2000/09/xmldsig#", "DigestMethod");
     context.childAsURIs(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
     context.endNamespaceDecls();
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
     context.endAttributes();
     context.childAsBody(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
     context.endElement();
   }
   context.startElement("http://www.w3.org/2000/09/xmldsig#", "DigestValue");
   context.endNamespaceDecls();
   context.endAttributes();
   try {
     context.text(
         com.sun.msv.datatype.xsd.Base64BinaryType.save(((byte[]) _DigestValue)), "DigestValue");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endElement();
 }
Example #16
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Id != null) {
     context.startAttribute("", "Id");
     try {
       context.text(context.onID(this, ((java.lang.String) _Id)), "Id");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Type != null) {
     context.startAttribute("", "Type");
     try {
       context.text(((java.lang.String) _Type), "Type");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_URI != null) {
     context.startAttribute("", "URI");
     try {
       context.text(((java.lang.String) _URI), "URI");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (_Transforms != null) {
     if (_Transforms instanceof javax.xml.bind.Element) {
       context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Transforms), "Transforms");
     }
   }
   if (_DigestMethod instanceof javax.xml.bind.Element) {
     context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _DigestMethod), "DigestMethod");
   }
 }
Example #17
0
 public void serializeAttributes(
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
     throws org.xml.sax.SAXException {
   if (_Id != null) {
     context.startAttribute("", "id");
     try {
       context.text(context.onID(this, ((java.lang.String) _Id)), "Id");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   context.startAttribute("", "maxProcessingTime");
   try {
     context.text(
         javax.xml.bind.DatatypeConverter.printInteger(
             ((java.math.BigInteger) _MaxProcessingTime)),
         "MaxProcessingTime");
   } catch (java.lang.Exception e) {
     com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
         .handlePrintConversionException(this, e, context);
   }
   context.endAttribute();
   if (_Actor != null) {
     context.startAttribute("http://schemas.xmlsoap.org/soap/envelope/", "actor");
     try {
       context.text(((java.lang.String) _Actor), "Actor");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
   if (has_MustUnderstand) {
     context.startAttribute("http://schemas.xmlsoap.org/soap/envelope/", "mustUnderstand");
     try {
       context.text(
           javax.xml.bind.DatatypeConverter.printBoolean(((boolean) _MustUnderstand)),
           "MustUnderstand");
     } catch (java.lang.Exception e) {
       com.sun.identity.federation.jaxb.entityconfig.impl.runtime.Util
           .handlePrintConversionException(this, e, context);
     }
     context.endAttribute();
   }
 }