MCPcopy Create free account
hub / github.com/libgit2/git2go / HostkeyCertificate

Struct HostkeyCertificate

remote.go:288–295  ·  view source on GitHub ↗

Server host key information. A bitmask containing the available fields. Check for combinations of: HostkeyMD5, HostkeySHA1, HostkeySHA256, HostkeyRaw.

Source from the content-addressed store, hash-verified

286// Server host key information. A bitmask containing the available fields.
287// Check for combinations of: HostkeyMD5, HostkeySHA1, HostkeySHA256, HostkeyRaw.
288type HostkeyCertificate struct {
289 Kind HostkeyKind
290 HashMD5 [16]byte
291 HashSHA1 [20]byte
292 HashSHA256 [32]byte
293 Hostkey []byte
294 SSHPublicKey ssh.PublicKey
295}
296
297type PushOptions struct {
298 // Callbacks to use for this push operation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected