예제 #1
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Client");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.WriteAttribute ("Account", Account);
            Output.WriteAttribute ("Service", Service);
            Output.StartList ("");
            foreach (Scope _e in Scopes) {
                _e.Serialize (Output, true);
                }
            // public Secret  Secret = new  Secret();
            Secret.Serialize (Output, true);
            // public Ticket  Ticket = new  Ticket();
            Ticket.Serialize (Output, true);
            // public Encryption  EncryptionAlgorithm = new  Encryption();
            EncryptionAlgorithm.Serialize (Output, true);
            // public Authentication  AuthenticationAlgorithm = new  Authentication();
            AuthenticationAlgorithm.Serialize (Output, true);
            // public Expires  Expires = new  Expires();
            Expires.Serialize (Output, true);
            foreach (Connection _e in Connections) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Client");
                }
        }
예제 #2
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Administrator");
                }

            Output.WriteAttribute ("Account", Account);
            if (tag) {
                Output.EndElement ("Administrator");
                }
        }
예제 #3
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Authentication");
                }

            Output.WriteAttribute ("Algorithm", Algorithm);
            if (tag) {
                Output.EndElement ("Authentication");
                }
        }
예제 #4
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Ticket");
                }

            Output.WriteAttribute ("Data", Data);
            if (tag) {
                Output.EndElement ("Ticket");
                }
        }
예제 #5
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Address");
                }

            Output.WriteAttribute ("IP", IP);
            if (tag) {
                Output.EndElement ("Address");
                }
        }
예제 #6
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Scope");
                }

            Output.WriteAttribute ("Domain", Domain);
            if (tag) {
                Output.EndElement ("Scope");
                }
        }
예제 #7
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Query");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.StartList ("");
            foreach (Seed _e in Secret) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Query");
                }
        }
예제 #8
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Expires");
                }

            Output.WriteAttribute ("Expiry", Expiry);
            if (tag) {
                Output.EndElement ("Expires");
                }
        }
예제 #9
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Connection");
                }

            Output.StartList ("");
            foreach (Scope _e in Scopes) {
                _e.Serialize (Output, true);
                }
            // public Secret  Secret = new  Secret();
            Secret.Serialize (Output, true);
            // public Ticket  Ticket = new  Ticket();
            Ticket.Serialize (Output, true);
            // public Encryption  EncryptionAlgorithm = new  Encryption();
            EncryptionAlgorithm.Serialize (Output, true);
            // public Authentication  AuthenticationAlgorithm = new  Authentication();
            AuthenticationAlgorithm.Serialize (Output, true);
            // public Expires  Expires = new  Expires();
            Expires.Serialize (Output, true);
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Connection");
                }
        }
예제 #10
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Connect");
                }

            Output.WriteId ("Id", Id.ToString());
            Output.WriteAttribute ("Domain", Domain);
            Output.StartList ("");
            // public Port  Port = new  Port();
            Port.Serialize (Output, true);
            foreach (Seed _e in Secrets) {
                _e.Serialize (Output, true);
                }
            foreach (Encryption _e in EncryptionAlgorithms) {
                _e.Serialize (Output, true);
                }
            foreach (Authentication _e in AuthenticationAlgorithms) {
                _e.Serialize (Output, true);
                }
            foreach (Administrator _e in Administrators) {
                _e.Serialize (Output, true);
                }
            Output.EndList ("");
            if (tag) {
                Output.EndElement ("Connect");
                }
        }