Documentation Language: Swift

Initializer

init(keyBlob:comment:debug:)

Creates a new SSH agent key representation.

init(keyBlob: Data, comment: String, debug: Bool = false) throws

Parameters

keyBlob

The raw binary key data from the agent

comment

The descriptive comment associated with the key

debug

Whether to print debug information during key parsing

Discussion

This initialiser processes the raw key data from an SSH agent response, parsing the binary key blob into a public key structure suitable for use with SSH authentication protocols.