Add missing use BigInteger statement to X509.

Unnoticed regression from #361 due to lack of tests.