High level function which returns : curve(2) + len_of_pubkeyX(2) + pubkeyX + len_of_pubkeyY + pubkeyY
(self)
| 89 | return self.curve |
| 90 | |
| 91 | def get_pubkey(self): |
| 92 | """ |
| 93 | High level function which returns : |
| 94 | curve(2) + len_of_pubkeyX(2) + pubkeyX + len_of_pubkeyY + pubkeyY |
| 95 | """ |
| 96 | return b''.join((pack('!H', self.curve), |
| 97 | pack('!H', len(self.pubkey_x)), |
| 98 | self.pubkey_x, |
| 99 | pack('!H', len(self.pubkey_y)), |
| 100 | self.pubkey_y |
| 101 | )) |
| 102 | |
| 103 | def get_privkey(self): |
| 104 | """ |