Introduced Certificate wrapper class to make it easier to build certificates from base64 encoded pems