@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Pkcs10Csr pkcs10Csr = (Pkcs10Csr) o;
        return Objects.equals(csr, pkcs10Csr.csr);
    }
@return If basic constraints extension is present: returns true if CA cert, false otherwise. Returns empty if the extension is not present.
security-utils/src/main/java/com/yahoo/security/Pkcs10Csr.java