mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
23 lines
665 B
HTML
Executable File
23 lines
665 B
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Пример использования CryptoPro</title>
|
|
<script src="https://cdn.polyfill.io/v2/polyfill.js"></script>
|
|
</head>
|
|
<body>
|
|
<select id="certList"></select>
|
|
<button id="createSign" type="button">Создать подпись</button>
|
|
<br>
|
|
<textarea id="createdSign" cols="90" rows="30"></textarea>
|
|
|
|
<script>
|
|
window.CryptoProConfig = {
|
|
publicPath: '../dist/'
|
|
};
|
|
</script>
|
|
<script src="../dist/crypto-pro.js"></script>
|
|
<script src="cert-list.js"></script>
|
|
<script src="create-sign.js"></script>
|
|
</body>
|
|
</html> |