mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
29 lines
967 B
HTML
Executable File
29 lines
967 B
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Пример использования CryptoPro</title>
|
|
</head>
|
|
<body>
|
|
<select id="certList"></select>
|
|
<button id="createSign" type="button">Создать подпись</button>
|
|
<br>
|
|
<textarea id="createdSign" cols="90" rows="30"></textarea>
|
|
|
|
<!-- Полифиллы для работы библиотеки -->
|
|
<script src="polyfills/addEventListener.js"></script>
|
|
<script src="polyfills/promise.js"></script>
|
|
<script src="polyfills/forEach.js"></script>
|
|
<script src="polyfills/map.js"></script>
|
|
|
|
<!-- Библиотека -->
|
|
<script src="../dist/crypto-pro.js"></script>
|
|
|
|
<!-- Полифиллы для работы демо скриптов -->
|
|
<script src="polyfills/atob-btoa.js"></script>
|
|
|
|
<!-- Демо скрипты -->
|
|
<script src="cert-list.js"></script>
|
|
<script src="create-sign.js"></script>
|
|
</body>
|
|
</html> |