Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use as TrustManager #14

Closed
mimi89999 opened this issue Apr 22, 2021 · 3 comments · Fixed by #31
Closed

Use as TrustManager #14

mimi89999 opened this issue Apr 22, 2021 · 3 comments · Fixed by #31

Comments

@mimi89999
Copy link

Hello,
I can't find in the doc how to use certificatetransparency as a TrustManager.

@mattmook
Copy link
Member

For the time being this library implements through either an OkHttp network interceptor or a hostname verifier.

While there is nothing stopping wrapping the implementation in a TrustManager it's just not something I've considered doing currently. It would perhaps feel a little more natural than the current hostname verifier implementation.

@mimi89999
Copy link
Author

It would also make it possible to use with other protocols than HTTP.

@mimi89999
Copy link
Author

Would it be possible to wrap it in a TrustManager?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants