code: public DerValue findMostSpecificAttribute(ObjectIdentifier attribute) {
          if (names != null) {
              for (int i = names.length - 1; i >= 0; i--) {
                  DerValue value = names[i].findAttribute(attribute);
                  if (value != null) {
                      return value;
                  }
              }
          }
          return null;
      }
docs: Find the most specific ("last") attribute of the given
  type.