Privacy/Features/DOMCryptAPISpec/Latest: Difference between revisions

Jump to navigation Jump to search
Line 82: Line 82:
[Callback=FunctionOnly, NoInterfaceObject] interface PKDecryptCallback {
[Callback=FunctionOnly, NoInterfaceObject] interface PKDecryptCallback {
   void onsuccess(ArrayBuffer plainText);
   void onsuccess(ArrayBuffer plainText);
};
[Callback=FunctionOnly, NoInterfaceObject] interface PKSignCallback {
  void onsuccess(ArrayBuffer signature);
};
[Callback=FunctionOnly, NoInterfaceObject] interface PKVerifyCallback {
  void onsuccess(boolean verified);
};
};


Line 102: Line 94:
   void decrypt(ArrayBuffer message, ArrayBuffer keyID, PKDecryptCallback callback);
   void decrypt(ArrayBuffer message, ArrayBuffer keyID, PKDecryptCallback callback);


};
[Callback=FunctionOnly, NoInterfaceObject] interface SignCallback {
  void onsuccess(ArrayBuffer signature);
};
[Callback=FunctionOnly, NoInterfaceObject] interface VerifyCallback {
  void onsuccess(boolean verified);
};
};


564

edits

Navigation menu