public override QResponse Dispatch(QueryServerContext Context,
                    TicketData TicketData)
        {
            CredentialPasswordResponse Response = new CredentialPasswordResponse();

            return Response;
        }
        public override QResponse Dispatch(QueryServerContext Context,
                    TicketData TicketData)
        {
            AdvertiseResponse Response = new AdvertiseResponse();

            return Response;
        }
Beispiel #3
0
        public Cryptographic GetCryptographic(TicketData TicketData, String Protocol, byte [] Ticket)
        {
            Cryptographic Result = new Cryptographic ();

            // Fill in the Response structures
            Result.Authentication = Cryptography.AuthenticationCode (TicketData.Authentication);
            Result.Encryption = Cryptography.EncryptionCode (TicketData.Encryption);
            Result.Secret = TicketData.MasterKey.KeyData;
            Result.Protocol = Protocol;
            Result.Ticket = Ticket;

            return Result;
        }
Beispiel #4
0
 public Cryptographic GetCryptographic(TicketData Ticket, String Protocol)
 {
     return GetCryptographic (Ticket, Protocol, Ticket.GetTicket (MasterSeed));
 }
 public virtual QResponse Dispatch(QueryServerContext ConnectionServerContext,
                 TicketData TicketData)
 {
     return null;
 }
        public override QResponse Dispatch(QueryServerContext Context,
                    TicketData TicketData)
        {
            ValidateResponse Response = new ValidateResponse();
            Response.Status = 200;

            return Response;
        }
        public override QResponse Dispatch(QueryServerContext Context,
                        TicketData TicketData)
        {
            QueryConnectResponse Response = new QueryConnectResponse();

            // If we were doing this properly we would do a DNS lookup
            // (via a cache of course) to resolve the parameters here

            Response.Connection = new List<Connection> ();

            Response.Connection.Add (new Connection (
                "10.3.2.1", 443, "TLS", "TLS=Optional", "Strict"));
            Response.Connection.Add (new Connection ("10.3.2.1", 80, null, null, "Strict"));
            Response.Status = 200;

            return Response;
        }