credentialsFromPrivateKey method
Future<ToplSigningKey>
credentialsFromPrivateKey(
- String privateKey,
- NetworkId network,
- PropositionType propositionType
Constructs a new Credentials with the provided privateKey
by using
a ToplSigningKey.
Implementation
Future<ToplSigningKey> credentialsFromPrivateKey(
String privateKey, NetworkId network, PropositionType propositionType) {
return _operations.privateKeyFromString(
network, propositionType, privateKey);
}