添加ca.pb相关代码.

Signed-off-by: jack <jack.wgm@gmail.com>
大量风格修正及错误处理.

Signed-off-by: jack <jack.wgm@gmail.com>