We can delete notes / changed credits

This commit is contained in:
Michael 2018-09-23 09:20:25 +00:00
parent 6df6d82427
commit feeec908d3
3 changed files with 23 additions and 8 deletions

View file

@ -16,6 +16,9 @@ use Friendica\Protocol\ActivityPub;
*
* Ported from Hubzilla: https://framagit.org/hubzilla/core/blob/master/Zotlabs/Web/HTTPSig.php
*
* Other parts of the code for HTTP signing are taken from the Osada project.
* https://framagit.org/macgirvin/osada
*
* @see https://tools.ietf.org/html/draft-cavage-http-signatures-07
*/

View file

@ -6,6 +6,11 @@ use Friendica\Util\JsonLD;
use Friendica\Util\DateTimeFormat;
use Friendica\Protocol\ActivityPub;
/**
* @brief Implements JSON-LD signatures
*
* Ported from Osada: https://framagit.org/macgirvin/osada
*/
class LDSignature
{
public static function isSigned($data)