You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/14 04:44:20 UTC

[Ws Wiki] Update of "rampartc/pkcs12 API" by milinda

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by milinda:
http://wiki.apache.org/ws/rampartc/pkcs12_API

The comment on the change is:
New API for pkcs12 keystore.

------------------------------------------------------------------------------
+ /**/
+ 
+ AXIS2_EXTERN pkcs12_keystore_t * AXIS2_CALL pkcs12_keystore_create(
+     const axutil_env_t *env, 
+     axis2_char_t *filename, 
+     axis2_char_t *password);
  
  /**/
  
- pkcs12_keystore_t * pkcs12ks_create(char *filename, char *password);
+ AXIS2_EXTERN openssl_pkey_t * AXIS2_CALL pkcs12_keystore_get_owner_private_key(
+     pkcs12_keystore_t *keystore,
+     const axutil_env_t *env);
  
  /**/
  
- openssl_pkey_t * pkcs12ks_get_private_key(pkcs12_keystore_t *pkcs12, char *alias, char *passwd);
+ AXIS2_EXTERN oxs_x509_cert_t * AXIS2_CALL pkcs12_keystore_get_owner_certificate(
+     pkcs12_keystore_t *keystore, 
+     const axutil_env_t *env);
  
  /**/
  
- X509* pkcs12ks_get_default_certificate(pkcs12_keystore_t *pkcs12, char *alias);
+ AXIS2_EXTERN oxs_x509_cert_t * AXIS2_CALL pkcs12_keystore_get_certificate_for_issuer_serial(
+         pkcs12_keystore_t *keystore,
+         const axutil_env_t *env,
+         axis2_char_t *issuer,
+         int serial_number);
  
  /**/
  
- X509* pkcs12ks_get_certificate_for_X(pkcs12_keystore_t *pkcs12, char *alias, char* X);
- X=Issuer_Serial, Thumbprint, SKI
+ AXIS2_EXTERN oxs_x509_cert_t * AXIS2_CALL pkcs12_keystore_get_certificate_for_thumbprint(
+         pkcs12_keystore_t *keystore, 
+         const axutil_env_t *env, 
+         axis2_char_t *thumbprint);
  
  /**/
  
- STACK_OF(X509) *pkcs12ks_get_all_certificates(pkcs12_keystore_t *pkcs12, char *alias);
+ AXIS2_EXTERN oxs_x509_cert_t * AXIS2_CALL pkcs12_keystore_get_certificate_for_subject_key_id(
+         pkcs12_keystore_t *keystore,
+         const axutil_env_t *env,
+         axis2_char_t *ski);
  
+ /**/
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org