mirror of
https://github.com/friendica/friendica
synced 2025-05-01 19:44:23 +02:00
We can delete notes / changed credits
This commit is contained in:
parent
6df6d82427
commit
feeec908d3
3 changed files with 23 additions and 8 deletions
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue