CrossSigningKey.fromSDNCrossSigningKey constructor
CrossSigningKey.fromSDNCrossSigningKey(
- SDNCrossSigningKey key,
- Client client
Implementation
CrossSigningKey.fromSDNCrossSigningKey(SDNCrossSigningKey key, Client client)
: super.fromJson(key.toJson().copy(), client) {
final json = toJson();
identifier = key.publicKey;
usage = json['usage'].cast<String>();
}