diff options
author | Andrew Manning <andrew@reticu.li> | 2016-11-30 21:22:51 -0500 |
---|---|---|
committer | Andrew Manning <andrew@reticu.li> | 2016-11-30 21:22:51 -0500 |
commit | 3f838e1dbccab819ce0cf93b079afea8d41d2a7a (patch) | |
tree | f76eb1fbb01cb3917474613c0f0bcfbe74ba0aa3 /doc | |
parent | 50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794 (diff) | |
parent | c845eed114ec3cea90acd35c419110d9ab76051f (diff) | |
download | volse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.tar.gz volse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.tar.bz2 volse-hubzilla-3f838e1dbccab819ce0cf93b079afea8d41d2a7a.zip |
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hook/crypto_methods.bb | 5 | ||||
-rw-r--r-- | doc/hook/other_encapsulate.bb | 7 | ||||
-rw-r--r-- | doc/hook/other_unencapsulate.bb | 5 | ||||
-rw-r--r-- | doc/hooklist.bb | 9 |
4 files changed, 26 insertions, 0 deletions
diff --git a/doc/hook/crypto_methods.bb b/doc/hook/crypto_methods.bb new file mode 100644 index 000000000..1b16f567d --- /dev/null +++ b/doc/hook/crypto_methods.bb @@ -0,0 +1,5 @@ +[h2]crypto_mthods[/h2] + +Passed an array of crypto methods in local priority order. + +You may change the order and add new methods or disable existing methods. 'aes256cbc' is always supported as a fallback and currently removing this has no effect.
\ No newline at end of file diff --git a/doc/hook/other_encapsulate.bb b/doc/hook/other_encapsulate.bb new file mode 100644 index 000000000..ea0cdf622 --- /dev/null +++ b/doc/hook/other_encapsulate.bb @@ -0,0 +1,7 @@ +[h2]other_encapsulate[/h2] + +Passed an array of 'data', 'pubkey', 'alg', 'result' when encrypting data with an algorithm (alg) which is unknown to the system. Hooks are expected to identify their algorithm, encrypt data with pubkey and place the result in 'result'. + + + + diff --git a/doc/hook/other_unencapsulate.bb b/doc/hook/other_unencapsulate.bb new file mode 100644 index 000000000..c8b0b617f --- /dev/null +++ b/doc/hook/other_unencapsulate.bb @@ -0,0 +1,5 @@ +[h2]other_unencapsulate[/h2] + +Passed an array of 'data', 'prvkey', 'alg', 'result' when decrypting data with an algorithm (alg) which is unknown to the system. Hooks are expected to identify their algorithm, decrypt data with prvkey and place the result in 'result'. + + diff --git a/doc/hooklist.bb b/doc/hooklist.bb index 5226e7de6..52af9608c 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -145,6 +145,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/cron_weekly]cron_weekly[/zrl] Called when weekly scheduled tasks are executed +[zrl=[baseurl]/help/hook/crypto_methods]crypto_methods[/zrl] + Called when generating a list of crypto algorithms in the locally preferred order + [zrl=[baseurl]/help/hook/directory_item]directory_item[/zrl] Called when generating a directory listing for display @@ -386,6 +389,12 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/oembed_probe]oembed_probe[/zrl] Called when performing an oembed content lookup +[zrl=[baseurl]/help/hook/other_encapsulate]other_encapsulate[/zrl] + Called when encrypting content for which the algorithm is unknown (see also crypto_methods) + +[zrl=[baseurl]/help/hook/other_unencapsulate]other_unencapsulate[/zrl] + Called when decrypting content for which the algorithm is unknown (see also crypto_methods) + [zrl=[baseurl]/help/hook/page_content_top]page_content_top[/zrl] Called when we generate a webpage (before calling the module content function) |