Supported eToken:
- SafeNet
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 -->"
}
Licensed under MIT