/** * Constructor for the <code>NegotiationCertificate</code> object. * This creates an object used to provide certificate details and * a means to challenge for certificate details for the connected * client if required. * * @param negotiation the negotiation associated with this * @param socket the underlying TCP connection to the client */ public NegotiationState(Negotiation negotiation, Socket socket) { this.delegate = new Delegate(socket); this.future = new FutureTask<Certificate>(delegate, this); this.challenge = new Challenge(socket); this.negotiation = negotiation; this.socket = socket; }
/** * Constructor for the <code>NegotiationCertificate</code> object. * This creates an object used to provide certificate details and * a means to challenge for certificate details for the connected * client if required. * * @param negotiation the negotiation associated with this * @param socket the underlying TCP connection to the client */ public NegotiationState(Negotiation negotiation, Socket socket) { this.delegate = new Delegate(socket); this.future = new FutureTask<Certificate>(delegate, this); this.challenge = new Challenge(socket); this.negotiation = negotiation; this.socket = socket; }
/** * Constructor for the <code>NegotiationCertificate</code> object. * This creates an object used to provide certificate details and * a means to challenge for certificate details for the connected * client if required. * * @param negotiation the negotiation associated with this * @param socket the underlying TCP connection to the client */ public NegotiationState(Negotiation negotiation, Socket socket) { this.delegate = new Delegate(socket); this.future = new FutureTask<Certificate>(delegate, this); this.challenge = new Challenge(socket); this.negotiation = negotiation; this.socket = socket; }