Re: TrustStrategy - is chain[0] always the server certificate in the chain?

2016-03-22 Thread Oleg Kalnichevski
On Mon, 2016-03-21 at 14:21 +0100, Bernd wrote: > Hello, > > I am writing a TrustStrategy which is processing http.spki-pinning. I have > one strategy instance per fingerprint (and use it only for one host). > > The isTrusted(chain, authType) method will return a CertificateException > when the

Re: CredentialsProvider

2016-03-22 Thread Oleg Kalnichevski
On Mon, 2016-03-21 at 12:46 +, Mark A. Claassen wrote: > I am testing several different configurations of proxy authentication using > the CredentialsProvider. It seems that the way this is done is to cache the > Credentials, which make sense. However, how do I tell if they are incorrect?