Skip to content

soramitsukhmer/etoken-client-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eToken Client SDK

Supported eToken:

  • SafeNet

Usage

Using SafeNet eToken

import { SafeNet } from 'etoken-client-sdk'

const eToken = new SafeNet()

const challenge = await eToken.sign('Data to be sign...')

console.log(challenge)

Result:

{
  "certchain": "<-- cert chain -->",
  "signature": "<-- signature -->",
  "signeddata": "<-- signed data -->"
}

License

Licensed under MIT