Method implementations for creating a certificate and signing it.
Implementation for signing a public key certificate with
BouncyCastle API.
New implementation of certificate serial number generation.
Should now have a unique 40 number integer as a serial number
value.