1.0.4 • Published 5 years ago

@usrt/cryptosocket-wrapper v1.0.4

Weekly downloads
28
License
MIT
Repository
gitlab
Last release
5 years ago

Description

Typescript API library for communicate with CryptoSocket application.

Startup

  1. Install CryptoSocker application.

  2. Install npm package using npm install @usrt/cryptosocket-wrapper.

  3. Type next script:

// Create client
var client = new CryptoSocketClient();

// Connect to CryptoSocket on your computer
await client.connect('CRYPTOSOCKET_API_TOKEN');

// Select file on disk
const filePath = await client.showOpenDialog(
    'Please, select "*.p12" file on you pc!'
);

// If filepath if empty - user close select fiel window
if (!filePath) {
    return;
}

// Password of your p12 file key
const password = '12345678';

// Sign

References

Build source

  1. Install dependencies using npm install.
  2. Run build script npm run build.
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.9.0

5 years ago

0.9.1

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.0

5 years ago