Exemplo n.º 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");
                }
        }
Exemplo n.º 2
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Administrator");
                }

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

            Output.WriteAttribute ("Algorithm", Algorithm);
            if (tag) {
                Output.EndElement ("Authentication");
                }
        }
Exemplo n.º 4
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Address");
                }

            Output.WriteAttribute ("IP", IP);
            if (tag) {
                Output.EndElement ("Address");
                }
        }
Exemplo n.º 5
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Ticket");
                }

            Output.WriteAttribute ("Data", Data);
            if (tag) {
                Output.EndElement ("Ticket");
                }
        }
Exemplo n.º 6
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Scope");
                }

            Output.WriteAttribute ("Domain", Domain);
            if (tag) {
                Output.EndElement ("Scope");
                }
        }
Exemplo n.º 7
0
        public override void Serialize(StructureWriter Output, bool tag)
        {
            if (tag) {
                Output.StartElement ("Expires");
                }

            Output.WriteAttribute ("Expiry", Expiry);
            if (tag) {
                Output.EndElement ("Expires");
                }
        }
Exemplo n.º 8
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");
                }
        }