()
| 33 | ) |
| 34 | |
| 35 | func getCommKeys() (*asymmetric.PrivateKey, *asymmetric.PublicKey) { |
| 36 | testPriv := []byte{ |
| 37 | 0xea, 0xf0, 0x2c, 0xa3, 0x48, 0xc5, 0x24, 0xe6, |
| 38 | 0x39, 0x26, 0x55, 0xba, 0x4d, 0x29, 0x60, 0x3c, |
| 39 | 0xd1, 0xa7, 0x34, 0x7d, 0x9d, 0x65, 0xcf, 0xe9, |
| 40 | 0x3c, 0xe1, 0xeb, 0xff, 0xdc, 0xa2, 0x26, 0x94, |
| 41 | } |
| 42 | return asymmetric.PrivKeyFromBytes(testPriv) |
| 43 | } |
| 44 | |
| 45 | func TestSignedRequestHeader_Sign(t *testing.T) { |
| 46 | privKey, _ := getCommKeys() |
no test coverage detected