def new_verify_key_pair(key_id, output_prefix_type): fake_key = helper.fake_key( key_id=key_id, key_material_type=tink_pb2.KeyData.ASYMMETRIC_PRIVATE, output_prefix_type=output_prefix_type) fake_verify = helper.FakePublicKeyVerify( 'fakePublicKeySign {}'.format(key_id)) return fake_verify, fake_key,
def to_verify_key_pair(key): fake_verify = helper.FakePublicKeyVerify('fakePublicKeySign {}'.format( key.key_id)) return fake_verify, key