setPrivateKey
Set a private key for asymmetric encryption. The private key is used for decryption.
| Parameters |
|---|
| PrivKey: String with the private key in PEM format. If the private key is encrypted, the password can be included concatenate to the private key after “;”. For example: Key;Password |
| Return values |
|---|
| The function returns a promise that resolves to true when it succeeds or raises an exception if false. |