30 likes | 202 Views
PKCS#11 Design 1. Browser. PKCS#11 API. C <-> JSON. Only transformation. JNI Transport. Creates JVM and loads OeC App. JNI Transport ( pid ). Transformation + conversion logic. JSON <-> IFD, SAL, …. Open eCard App. PKCS#11 Design 2. Browser. PKCS#11 API. Only transformation.
E N D
PKCS#11 Design 1 Browser PKCS#11 API C <-> JSON Onlytransformation JNI Transport Creates JVM andloadsOeCApp JNI Transport (pid) Transformation + conversionlogic JSON <-> IFD, SAL, … Open eCardApp
PKCS#11 Design 2 Browser PKCS#11 API Onlytransformation C <-> JSON Two Threads • Synchro. Calls • Callback Long Polling HTTP Transport Transformation + conversionlogic Applicationknowsbothchannels HTTP Transport (24727) JSON <-> IFD, SAL, … HTTP Transport (24727) Open eCardApp