10 Commits

Author SHA1 Message Date
Chia-chi Yeh
37062b93dc keystore: remove "#include <openssl/engine.h>". 2009-09-10 03:56:04 +08:00
Chung-yih Wang
60c821c8ee Print error message if the buffer size is too small. 2009-09-02 11:54:24 +08:00
Chung-yih Wang
09960230bf Store CA certificate chain into one single key entry with PEM format.
Extract all CA certificates in a PKCS12 keystore into a single entry in keystore with multiple PEMs.
2009-09-01 16:45:13 +08:00
Chung-yih Wang
fd3db87e28 Support x509-user-cert mime type in browser.
+ Fix the public key matching and intent parameter mismatch.
2009-07-28 18:37:13 +08:00
Chung-yih Wang
1914523786 Forgot to convert the jstring to char* in certificate request. 2009-07-28 15:18:22 +08:00
Chung-yih Wang
719eba5bb1 Change to SPKAC certificate request format for keygen. 2009-07-24 11:33:45 +08:00
Chung-yih Wang
c9c119e733 Support addPkcs12Keystore function in CertTool library.
The function will be called from the credential storage for decoding
the pkcs12 file and saving the certs/keys into mini-keystore.
2009-07-18 01:17:20 +08:00
Chung-yih Wang
699ca3f251 Add password field for WiFi configuration.
1. the certtool.h is modified for avoiding the side effect,
   for saving the configuration with wpa_supplicant.
2. put the loadLibrary back in CertTool.java
3. Fix incorrect JNI declarations.
2009-07-05 11:06:01 +08:00
Chung-yih Wang
bf20b9963a Migrate to the CertTool library.
Keystore is reimplemented and it is mainly for storing
(key, value) pair generically. The certificate related
APIs are moved to the class CertTool instead.

Updates:
  Provide the getInstance() which gives the singleton.
  Fix the missing construction of the BIO in cert.c.
2009-07-04 00:22:51 +08:00
Chung-yih Wang
eec11827a6 Add CertTool for handling the keygen and certificate download.
1. Have the new Keystore for mini-keystore impelemntation.
2. Add CertTool library and jni dll for handling keygen and certificates.
3. Make Reply hidden.
4. Revert some 'incorrect' change and correct the description.
2009-07-02 18:56:12 +08:00