This commit is contained in:
Artem Vasilev 2022-11-11 19:22:36 +03:00
parent 69f2521a79
commit e943608dbb
100 changed files with 291 additions and 133 deletions

0
dist/api/addAttachedSignature.d.ts vendored Normal file → Executable file
View File

0
dist/api/addDetachedSignature.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/certificate.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/exportBase64.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/getAlgorithm.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/getCadesProp.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/getDecodedExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/getExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/getInfo.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/hasExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/index.d.ts vendored Normal file → Executable file
View File

0
dist/api/certificate/isValid.d.ts vendored Normal file → Executable file
View File

0
dist/api/createAttachedSignature.d.ts vendored Normal file → Executable file
View File

0
dist/api/createDetachedSignature.d.ts vendored Normal file → Executable file
View File

0
dist/api/createHash.d.ts vendored Normal file → Executable file
View File

0
dist/api/createXMLSignature.d.ts vendored Normal file → Executable file
View File

0
dist/api/getAllCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/getAllContainerCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/getAllUserCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/getCertificate.d.ts vendored Normal file → Executable file
View File

0
dist/api/getCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/getContainerCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/getCspVersion.d.ts vendored Normal file → Executable file
View File

0
dist/api/getPluginVersion.d.ts vendored Normal file → Executable file
View File

0
dist/api/getSystemInfo.d.ts vendored Normal file → Executable file
View File

0
dist/api/getUserCertificates.d.ts vendored Normal file → Executable file
View File

0
dist/api/index.d.ts vendored Normal file → Executable file
View File

0
dist/api/isValidSystemSetup.d.ts vendored Normal file → Executable file
View File

0
dist/constants/cades-constants.d.ts vendored Normal file → Executable file
View File

0
dist/constants/index.d.ts vendored Normal file → Executable file
View File

0
dist/constants/issuer-tags-translations.d.ts vendored Normal file → Executable file
View File

4
dist/constants/oids-dictionary.d.ts vendored Normal file → Executable file
View File

@ -2,6 +2,10 @@ export declare const OIDS_DICTIONARY: {
'1.2.643.2.2.34.6': string; '1.2.643.2.2.34.6': string;
'1.2.643.2.39.1.1': string; '1.2.643.2.39.1.1': string;
'1.2.643.3.131.1.1': string; '1.2.643.3.131.1.1': string;
'1.2.643.100.4': string;
'1.2.643.100.1': string;
'1.2.643.100.5': string;
'1.2.643.100.3': string;
'1.2.643.3.141.1.1': string; '1.2.643.3.141.1.1': string;
'1.2.643.3.141.1.2': string; '1.2.643.3.141.1.2': string;
'1.2.643.3.2.100.65.13.11': string; '1.2.643.3.2.100.65.13.11': string;

0
dist/constants/subject-tags-translations.d.ts vendored Normal file → Executable file
View File

0
dist/constants/tags-translations.d.ts vendored Normal file → Executable file
View File

0
dist/crypto-pro-js.d.ts vendored Normal file → Executable file
View File

195
dist/crypto-pro-js.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/crypto-pro-js.js.map vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

6
dist/crypto-pro-js.min.js vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

2
dist/crypto-pro-js.min.js.map vendored Normal file → Executable file

File diff suppressed because one or more lines are too long

0
dist/helpers/_afterPluginsLoaded.d.ts vendored Normal file → Executable file
View File

2
dist/helpers/_extractCommonName.d.ts vendored Normal file → Executable file
View File

@ -1 +1 @@
export declare const _extractCommonName: (subjectName: string) => string; export declare const _extractCommonName: (subjectName: string) => string | undefined;

2
dist/helpers/_extractMeaningfulErrorMessage.d.ts vendored Normal file → Executable file
View File

@ -1 +1 @@
export declare const _extractMeaningfulErrorMessage: (error: Error) => string; export declare const _extractMeaningfulErrorMessage: (error: Error) => string | null;

0
dist/helpers/_generateCadesFn.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_getCadesCert.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_getCadesContainerCert.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_getCadesUserCert.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_getDateObj.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_isSupportedCSPVersion.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_isSupportedCadesVersion.d.ts vendored Normal file → Executable file
View File

0
dist/helpers/_parseCertInfo.d.ts vendored Normal file → Executable file
View File

View File

@ -1,12 +1,12 @@
{ {
"name": "crypto-pro-example-es5-script-tag", "name": "crypto-pro-example-es5-script-tag",
"version": "0.0.0", "version": "2.3.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "crypto-pro-example-es5-script-tag", "name": "crypto-pro-example-es5-script-tag",
"version": "0.0.0", "version": "2.3.3",
"dependencies": { "dependencies": {
"crypto-pro-js": "^2.3.2" "crypto-pro-js": "^2.3.2"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "crypto-pro-example-es5-script-tag", "name": "crypto-pro-example-es5-script-tag",
"version": "0.0.0", "version": "2.3.3",
"description": "Пример использования пакета crypto-pro через тэг script", "description": "Пример использования пакета crypto-pro через тэг script",
"private": true, "private": true,
"scripts": { "scripts": {

0
lib/api/addAttachedSignature.d.ts vendored Normal file → Executable file
View File

0
lib/api/addDetachedSignature.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/certificate.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/exportBase64.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/getAlgorithm.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/getCadesProp.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/getDecodedExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/getExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/getInfo.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/hasExtendedKeyUsage.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/index.d.ts vendored Normal file → Executable file
View File

0
lib/api/certificate/isValid.d.ts vendored Normal file → Executable file
View File

0
lib/api/createAttachedSignature.d.ts vendored Normal file → Executable file
View File

0
lib/api/createDetachedSignature.d.ts vendored Normal file → Executable file
View File

0
lib/api/createHash.d.ts vendored Normal file → Executable file
View File

0
lib/api/createXMLSignature.d.ts vendored Normal file → Executable file
View File

0
lib/api/getAllCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/getAllContainerCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/getAllUserCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/getCertificate.d.ts vendored Normal file → Executable file
View File

0
lib/api/getCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/getContainerCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/getCspVersion.d.ts vendored Normal file → Executable file
View File

0
lib/api/getPluginVersion.d.ts vendored Normal file → Executable file
View File

0
lib/api/getSystemInfo.d.ts vendored Normal file → Executable file
View File

0
lib/api/getUserCertificates.d.ts vendored Normal file → Executable file
View File

0
lib/api/index.d.ts vendored Normal file → Executable file
View File

0
lib/api/isValidSystemSetup.d.ts vendored Normal file → Executable file
View File

0
lib/constants/cades-constants.d.ts vendored Normal file → Executable file
View File

0
lib/constants/index.d.ts vendored Normal file → Executable file
View File

0
lib/constants/issuer-tags-translations.d.ts vendored Normal file → Executable file
View File

4
lib/constants/oids-dictionary.d.ts vendored Normal file → Executable file
View File

@ -2,6 +2,10 @@ export declare const OIDS_DICTIONARY: {
'1.2.643.2.2.34.6': string; '1.2.643.2.2.34.6': string;
'1.2.643.2.39.1.1': string; '1.2.643.2.39.1.1': string;
'1.2.643.3.131.1.1': string; '1.2.643.3.131.1.1': string;
'1.2.643.100.4': string;
'1.2.643.100.1': string;
'1.2.643.100.5': string;
'1.2.643.100.3': string;
'1.2.643.3.141.1.1': string; '1.2.643.3.141.1.1': string;
'1.2.643.3.141.1.2': string; '1.2.643.3.141.1.2': string;
'1.2.643.3.2.100.65.13.11': string; '1.2.643.3.2.100.65.13.11': string;

0
lib/constants/subject-tags-translations.d.ts vendored Normal file → Executable file
View File

0
lib/constants/tags-translations.d.ts vendored Normal file → Executable file
View File

0
lib/crypto-pro-js.d.ts vendored Normal file → Executable file
View File

195
lib/crypto-pro-js.js Normal file → Executable file

File diff suppressed because one or more lines are too long

2
lib/crypto-pro-js.js.map Normal file → Executable file

File diff suppressed because one or more lines are too long

0
lib/helpers/_afterPluginsLoaded.d.ts vendored Normal file → Executable file
View File

2
lib/helpers/_extractCommonName.d.ts vendored Normal file → Executable file
View File

@ -1 +1 @@
export declare const _extractCommonName: (subjectName: string) => string; export declare const _extractCommonName: (subjectName: string) => string | undefined;

2
lib/helpers/_extractMeaningfulErrorMessage.d.ts vendored Normal file → Executable file
View File

@ -1 +1 @@
export declare const _extractMeaningfulErrorMessage: (error: Error) => string; export declare const _extractMeaningfulErrorMessage: (error: Error) => string | null;

0
lib/helpers/_generateCadesFn.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_getCadesCert.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_getCadesContainerCert.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_getCadesUserCert.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_getDateObj.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_isSupportedCSPVersion.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_isSupportedCadesVersion.d.ts vendored Normal file → Executable file
View File

0
lib/helpers/_parseCertInfo.d.ts vendored Normal file → Executable file
View File