Code example for CertificateFactory

Methods: generateCertificate