few getters for certificate