~ubuntu-branches/ubuntu/karmic/opensc/karmic-updates

« back to all changes in this revision

Viewing changes to src/libopensc/pkcs15.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-29 03:56:10 UTC
  • mto: (8.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090329035610-y7v5a3f0852p4da8
Tags: upstream-0.11.7
ImportĀ upstreamĀ versionĀ 0.11.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
399
399
#define SC_PKCS15_CARD_FLAG_PRN_GENERATION      0x04
400
400
#define SC_PKCS15_CARD_FLAG_EID_COMPLIANT       0x08
401
401
#define SC_PKCS15_CARD_FLAG_SIGN_WITH_DECRYPT   0x10
 
402
#define SC_PKCS15_CARD_FLAG_EMULATED            0x20
402
403
 
403
404
/* sc_pkcs15_bind:  Binds a card object to a PKCS #15 card object
404
405
 * and initializes a new PKCS #15 card object.  Will return
476
477
int sc_pkcs15_find_data_object_by_app_oid(struct sc_pkcs15_card *p15card,
477
478
                                          const struct sc_object_id *app_oid,
478
479
                                          struct sc_pkcs15_object **out);
 
480
int sc_pkcs15_find_data_object_by_name(struct sc_pkcs15_card *p15card,
 
481
                                const char *app_label,
 
482
                                const char *label,
 
483
                                struct sc_pkcs15_object **out);
479
484
void sc_pkcs15_free_data_object(struct sc_pkcs15_data *data_object);
480
485
 
481
486
int sc_pkcs15_read_certificate(struct sc_pkcs15_card *card,
662
667
 
663
668
        unsigned int            match_reference : 1;
664
669
        int                     reference;
 
670
        const char *            app_label;
 
671
        const char *            label;
665
672
} sc_pkcs15_search_key_t;
666
673
 
667
674
int sc_pkcs15_search_objects(sc_pkcs15_card_t *, sc_pkcs15_search_key_t *,