class CertificateIdentity {

    public CertificateIdentity(String domain, String service, List<String> roles, X509Certificate x509Certificate) {
        this.domain = domain;
        this.service = service;
        this.roles = roles;
        this.x509Certificate = x509Certificate;
    }

    public  CertificateIdentity(String domain, String service, List<String> roles, X509Certificate x509Certificate);

}