class ZTSUtils {

    static boolean validateCertReqInstanceId(PKCS10CertificationRequest certReq, String instanceId) {
        final String reqInstanceId = extractCertReqInstanceId(certReq);
        if (reqInstanceId == null) {
            return false;
        }
        return reqInstanceId.equals(instanceId);
    }

}