Export function parse_x509_cert()

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2458 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
sth 2005-08-03 09:07:09 +00:00
parent 37cd955055
commit 41889b27a1
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#endif
#include <assert.h>
static int parse_x509_cert(sc_context_t *ctx, const u8 *buf, size_t buflen, struct sc_pkcs15_cert *cert)
int parse_x509_cert(sc_context_t *ctx, const u8 *buf, size_t buflen, struct sc_pkcs15_cert *cert)
{
int r;
struct sc_algorithm_id pk_alg, sig_alg;

View File

@ -447,6 +447,8 @@ void sc_pkcs15_free_data_object(struct sc_pkcs15_data *data_object);
int sc_pkcs15_read_certificate(struct sc_pkcs15_card *card,
const struct sc_pkcs15_cert_info *info,
struct sc_pkcs15_cert **cert);
int parse_x509_cert(sc_context_t *ctx, const u8 *buf, size_t buflen,
struct sc_pkcs15_cert *cert);
void sc_pkcs15_free_certificate(struct sc_pkcs15_cert *cert);
int sc_pkcs15_find_cert_by_id(struct sc_pkcs15_card *card,
const struct sc_pkcs15_id *id,