vue-eimzo

Installation https://www.npmjs.com/package/vue-eimzo
2,625
Install
npm install vue-eimzo@1.0.5
Latest Version:1.0.5
Vue:3
Older releases:2
Last Updated:Jan 21, 2024
Links: npm
Maintainer: adizbek

vue-eimzo

Installation

https://www.npmjs.com/package/vue-eimzo

npm i vue-eimzo
# or
yarn add vue-eimzo

Installing as a plugin

import EIMZOVuePlugin from 'vue-eimzo'

Vue.use(EIMZOVuePlugin) 

// you can access EIMZO client as $eimzo inside vue instance

Methods

await this.$eimzo.install()

this.certs = await this.$eimzo.listAllUserKeys()

let loadKeyResult = await this.$eimzo.loadKey(key)
let cert = await this.$eimzo.getMainCertificate(loadKeyResult.id)
let certInfo = await this.$eimzo.getCertInfo(cert)

let result = await this.$eimzo.signPkcs7(key, 'Hello world')
let token = await this.$eimzo.getTimestampToken(result.signature_hex)

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Version History

Version Released Vue License
1.0.5 ^3.4.5
1.0.4 ^3.4.5
1.0.3 ^3.4.5
1.0.2 ^3.4.5
1.0.1 ^3.4.5