MCPcopy Create free account
hub / github.com/WireGuard/wgctrl-go / PublicKey

Method PublicKey

wgtypes/types.go:137–148  ·  view source on GitHub ↗

PublicKey computes a public key from the private key k. PublicKey should only be called when k is a private key.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

testConfigureFunction · 0.80
TestPreparedKeysFunction · 0.80
mustKeyPairFunction · 0.80
TestClientDeviceBasicFunction · 0.80
DeviceMethod · 0.80
MustPublicKeyFunction · 0.80

Calls 1

KeyTypeAlias · 0.85

Tested by 4

testConfigureFunction · 0.64
TestPreparedKeysFunction · 0.64
mustKeyPairFunction · 0.64
TestClientDeviceBasicFunction · 0.64