Сергей Удалов

Сомнение важнее согласия

Инструменты пользователя

Инструменты сайта


xml_signed

XML Signed (draft)

Introduction

Signed XML format is designed to be HTML-compatible format with ability to check verify authority. It is very useful for documents published with IPFS.

Document Structure

  • Original XML-ducument
  • Signature contaniner
- index.html
<!doctype html>
<body>
  <h1>Hello World!</h1>
</body>
<!-- sign eyAiYSI6IDEgfQ..... -->

Signature

Signature is packed as a comment block with Base64URLSafe encoded data.

<!-- sign Base64SafeURLencode(data) -->

Data

Signature data has JSON format.

- sign.json
{ "ver": "1.0", "alg": "sha1", "sign": "abc123..."}

Обсуждение

Ваш комментарий. Вики-синтаксис разрешён:
 
xml_signed.txt · Последние изменения: 10.02.2021 14:34 (внешнее изменение)