public boolean isTrusted(AthenzIdentity identity) {
        return allowedIdentities.contains(identity);
    }
A {@link HostnameVerifier} that validates Athenz x509 certificates using the identity in the Common Name attribute.

@author bjorncs
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/tls/AthenzIdentityVerifier.java