class Crypto {

    public static String extractX509CertSubjectOUField(X509Certificate x509Cert) {

        // in case there are multiple OUs, we're only looking at the first one
        // in Athenz we should never have multiple OUs so we're going to reject
        // any certificate that has multiple values

        return extractX509CertSubjectField(x509Cert, BCStyle.OU);
    }

}