Changed to use bouncy castle for verification generation