Skip to content

Commit

Permalink
2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoma committed Feb 6, 2021
1 parent 9958c98 commit c0566b7
Show file tree
Hide file tree
Showing 26 changed files with 380 additions and 30 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ import { getUserCertificates, Certificate } from 'crypto-pro';
- [getCertificate](src/api/getCertificate.ts) - возвращает [сертификат](#api-certificate) по отпечатку
- [createAttachedSignature](src/api/createAttachedSignature.ts) - создает совмещенную (присоединенную) подпись сообщения
- [createDetachedSignature](src/api/createDetachedSignature.ts) - создает отсоединенную (открепленную) подпись сообщения
- [createXMLSignature](src/api/createXMLSignature.ts) - создает XML подпись для документа в формате XML
- [createHash](src/api/createHash.ts) - создает хеш сообщения по ГОСТ Р 34.11-2012 256 бит
- [createSignature](src/api/createSignature.ts) - создает подпись сообщения
> Является устаревшим и будет убран из будущих версий.
Expand Down
8 changes: 8 additions & 0 deletions dist/api/createXMLSignature.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Создает XML подпись для документа в формате XML
*
* @param thumbprint - отпечаток сертификата
* @param unencryptedMessage - подписываемое сообщение в формате XML
* @returns подпись
*/
export declare const createXMLSignature: (thumbprint: string, unencryptedMessage: string) => Promise<string>;
1 change: 1 addition & 0 deletions dist/api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export * from './getUserCertificates';
export * from './getSystemInfo';
export * from './isValidSystemSetup';
export * from './createSignature';
export * from './createXMLSignature';
export * from './createDetachedSignature';
export * from './createAttachedSignature';
export * from './createHash';
Expand Down
2 changes: 1 addition & 1 deletion dist/crypto-pro.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for crypto-pro 2.1.0
// Type definitions for crypto-pro 2.2.0
// Project: crypto-pro
// Definitions by: Vitalii Goma https://github.com/vgoma

Expand Down
110 changes: 110 additions & 0 deletions dist/crypto-pro.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/crypto-pro.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit c0566b7

Please sign in to comment.