PreKeyRecord constructor
Implementation
PreKeyRecord(int id, ECKeyPair keyPair) {
_structure = PreKeyRecordStructure.create()
..id = id
..publicKey = keyPair.publicKey.serialize()
..privateKey = keyPair.privateKey.serialize()
..toBuilder();
}