Skip to content
PKIjsPKIjsPKIjsv4.0.1

setEngine

setEngine(name, crypto, subtle): void

Sets global crypto engine

string

Name of the crypto engine

ICryptoEngine | Crypto

ICryptoEngine | SubtleCrypto

void

setEngine(name, crypto?): void

Sets global crypto engine

string

Name of the crypto engine

ICryptoEngine

Crypto engine. If the parameter is omitted, CryptoEngine with self.crypto are used

void

3.0.0