564
edits
(→Terms) |
|||
| Line 82: | Line 82: | ||
[Callback=FunctionOnly, NoInterfaceObject] interface PKDecryptCallback { | [Callback=FunctionOnly, NoInterfaceObject] interface PKDecryptCallback { | ||
void onsuccess(ArrayBuffer plainText); | void onsuccess(ArrayBuffer plainText); | ||
}; | }; | ||
| 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); | |||
}; | }; | ||
edits