1 #include <BeidView/oslayer.h> 14 typedef NS_ENUM(NSInteger, eIDSource)
21 typedef NS_ENUM(NSInteger, eIDLogLevel)
28 typedef NS_ENUM(NSInteger, eIDPinOp)
32 typedef NS_ENUM(NSInteger, eIDState)
51 typedef NS_ENUM(NSInteger, eIDLanguage)
59 typedef NS_ENUM(NSInteger, eIDResult)
68 @protocol eIDOSLayerUI < NSObject > @optional - (void) newsrc:(eIDSource)
72 -(void) newstringdata: (NSString *) data withLabel:(NSString *)
75 -(void) newbindata:(NSData *)
76 data withLabel:(NSString *) label;
78 -(void) log:(NSString *)
79 line withLevel:(eIDLogLevel) level;
81 -(void) newstate:(eIDState) state;
83 -(void) pinop_result:(eIDResult)
84 result forOperation:(eIDPinOp) operation;
86 -(void) readersFound:(NSArray *)
87 readers withSlotNumbers:(NSArray *) slots;
96 +(NSInteger)
setUi:(
id < eIDOSLayerUI >) ui;
113 certificate withCa:(NSData *) ca;
121 +(NSString *) getCertDetail:(NSData *) certificate;
Reading certificates.
Definition: oslayer.h:81
The card has been read, we're now waiting for events to do something else.
Definition: oslayer.h:79
Performing a PIN operation.
Definition: oslayer.h:82
the operation did not finish
Definition: oslayer.h:66
We don't have a reader (yet?)
Definition: oslayer.h:90
void serialize
calls eid_vwr_be_serialize()
Definition: oslayer-objc.h:107
void poll
calls eid_vwr_poll()
Definition: oslayer-objc.h:103
Saving data to a file.
Definition: oslayer.h:83
The callbacks have been defined.
Definition: oslayer.h:76
French.
Definition: oslayer.h:101
Card source. Close should not be allowed, everything else should be.
Definition: oslayer.h:34
perform a login and return whether the login was successful
Definition: oslayer.h:57
The data was determined to be invalid. That is, the card could be read, but signature validation fail...
Definition: oslayer.h:88
void deserialize
calls eid_vwr_be_deserialize()
Definition: oslayer-objc.h:105
Unknown. Used as initializer.
Definition: oslayer.h:35
void closeFile
calls eid_vwr_close_file()
Definition: oslayer-objc.h:110
NSImage * getPreview
calls eid_vwr_get_preview(), and converts the result to an NSImage*
Definition: oslayer-objc.h:98
Reading identity data.
Definition: oslayer.h:80
Dutch.
Definition: oslayer.h:102
change the PIN code of the card
Definition: oslayer.h:58
Ready to receive a token (eID card)
Definition: oslayer.h:77
An error occurred while dealing with the card.
Definition: oslayer.h:84
The library has been opened. Used as an initializer.
Definition: oslayer.h:75
English.
Definition: oslayer.h:100
We finished parsing the file.
Definition: oslayer.h:87
No language has yet been selected. Used as initializer.
Definition: oslayer.h:98
eIDLanguage lang
calls eid_vwr_convert_get_lang()
Definition: oslayer-objc.h:102
No source. UI should be cleared.
Definition: oslayer.h:32
File source. "Print", "Validate" and "Close" operations should be allowed, PIN-related operations are...
Definition: oslayer.h:33
Definition: oslayer-objc.m:69
A token (eID card) has been found.
Definition: oslayer.h:78
eIDResult validateRrnCert
calls eid_vwr_verify_rrncert()
Definition: oslayer-objc.h:115
We're reading from the file currently.
Definition: oslayer.h:86
void selectReader
calls eid_vwr_be_select_slot() with 0 as the first parameter, and the given reader number as the seco...
Definition: oslayer-objc.h:117
void setLang
calls eid_vwr_convert_set_lang()
Definition: oslayer-objc.h:100
NSData * xmlform
calls eid_vwr_be_get_xmlform(), and converts the result to an NSData*
Definition: oslayer-objc.h:109
the operation returned successfully
Definition: oslayer.h:65
German.
Definition: oslayer.h:99
void setReaderAuto
calls eid_vwr_be_select_slot with nonzero (if YES) or zero (if NO) as the first parameter, and 0 as the second parameter.
Definition: oslayer-objc.h:119
void setInvalid
calls eid_vwr_be_set_invalid()
Definition: oslayer-objc.h:111
We don't have a card, and we also don't have a file.
Definition: oslayer.h:89
operation failed
Definition: oslayer.h:64
void mainloop
calls eid_vwr_be_mainloop(), which does not return
Definition: oslayer-objc.h:104
We're dealing with files.
Definition: oslayer.h:85
eIDResult validateCert
calls eid_vwr_verify_cert() with valid perform_ocsp_request and free_ocsp_request function pointers ...
Definition: oslayer-objc.h:113
NSInteger setUi
calls eid_vwr_ui_callbacks() and eid_vwr_createcallbacks()
Definition: oslayer-objc.h:96