* type s192exchanger struct { provider *provider publicKey []byte sharedKey []byte compressKey bool } func (e *s192exchanger) PublicKey() []byte { return e.publicKey } func (e *s192exchanger) SharedKey() []byte { return e.sharedKey } func (e *s192exchanger) Exange(newKey []byte) ([]
| 52 | */ |
| 53 | |
| 54 | type p256exchanger struct { |
| 55 | privateKey *ecdh.PrivateKey |
| 56 | shareKey []byte |
| 57 | } |
| 58 | |
| 59 | func (e *p256exchanger) PublicKey() []byte { |
| 60 | return e.privateKey.PublicKey().Bytes() |
nothing calls this directly
no outgoing calls
no test coverage detected