restore Private Key
Restores a private key based on the provided storable key.
Return
The restored private key.
Parameters
key
The storable key to restore the private key from.
Throws
If the restoration identifier is missing or invalid.
open override fun restorePrivateKey(restorationIdentifier: String, privateKeyData: String): PrivateKey(source)
Restores a private key from StorablePrivateKey.
Return
The restored Key object.
Parameters
restoration Identifier
The restoration identifier to know which type of key it is.
private Key Data
The private key data encoded in bas64 to restore a private key.
Deprecated (with error)
This method has been deprecated and should no longer be used.
Replace with
restorePrivateKey(restoreIdentifier, privateKeyData)
Content copied to clipboard
Restores a private key from StorablePrivateKey.
Return
The restored Key object.
Parameters
storable Private Key
The StorablePrivateKey to restore the key from.