File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lib/src/main/java/at/bitfire/cert4android Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,10 @@ class UserDecisionRegistry private constructor(
4646 * Thread-safe, can handle multiple requests for various certificates and/or the same certificate at once.
4747 *
4848 * @param cert certificate to ask user about
49- * @param getUserDecision anonymous function to retrieve user decision
50- * @return *true* if the user explicitly trusts the certificate, *false* if unknown or untrusted
49+ * @param scope the coroutine scope within which [getUserDecision] is executed
50+ * @param getUserDecision suspendable function to retrieve user decision
51+ * @return *true* if the user explicitly trusts the certificate; *false* if
52+ * unknown or untrusted
5153 */
5254 suspend fun check (
5355 cert : X509Certificate ,
You can’t perform that action at this time.
0 commit comments