OpenSshPublicKey constructor

OpenSshPublicKey(
  1. Uint8List data, [
  2. String? comment,
  3. PubTextSource? source
])

Construct an OpenSSH public key.

The key is represented by the binary data.

An optional comment can be provided.

If it was parsed from text, the source can be recorded by providing the source, indicating the start of the key-type and the end of the comment (or the end of the base-64 encoded key, if there was no comment).

Implementation

OpenSshPublicKey(this.data, [this.comment, this.source]);