restore Private Key
A method to restore a private key from a StorableKey
Return
a PrivateKey
Parameters
key
a StorableKey instance
abstract fun restorePrivateKey(restorationIdentifier: String, privateKeyData: String): PrivateKey(source)
Restores a private key using a restoration identifier and private key data encoded in base 64.
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.