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:
parent
37cd955055
commit
41889b27a1
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue