retrieve certificate information during callback

Signed-off-by: Gregory Romé <gregory.rome@gmail.com>
update the doc

Signed-off-by: Gregory Romé <gregory.rome@gmail.com>