sergiosorias / jscep

Automatically exported from code.google.com/p/jscep
MIT License
0 stars 0 forks source link

Minor client API improvements #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
jscep versions prior to 1.1.1 had a couple of convenient features in client 
API. 

First one is a builder pattern implementation for Client class. And the other 
is ability to configure Client using ca certificate fingerprint instead of 
implementing a custom CallbackHandler.

The possible solution (which was closely modelled after the pre-1.1.1 jscep 
client API version) can be found here:
https://github.com/RomanKisilenko/ca/blob/master/src/main/java/me/it_result/ca/s
cep/CaFingerprintCallbackHandler.java
https://github.com/RomanKisilenko/ca/blob/master/src/main/java/me/it_result/ca/s
cep/CertificateFingerprint.java
https://github.com/RomanKisilenko/ca/blob/master/src/main/java/me/it_result/ca/s
cep/JScepClientBuilder.java

Original issue reported on code.google.com by roman.ma...@gmail.com on 19 Dec 2010 at 12:46

GoogleCodeExporter commented 9 years ago
There is nothing to stop users implementing a callback handler with a 
provisioned fingerprint in it.  I'd prefer to keep it that way and not pollute 
the API.

Original comment by davidgrant41 on 19 Dec 2010 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:37