code: public void set(String name, Object obj) throws IOException {
          if (name.equalsIgnoreCase(IS_CA)) {
              if (!(obj instanceof Boolean)) {
                throw new IOException("Attribute value should be of type Boolean.");
              }
              ca = ((Boolean)obj).booleanValue();
          } else if (name.equalsIgnoreCase(PATH_LEN)) {
              if (!(obj instanceof Integer)) {
                throw new IOException("Attribute value should be of type Integer.");
              }
              pathLen = ((Integer)obj).intValue();
          } else {
            throw new IOException("Attribute name not recognized by " +
                                  "CertAttrSet:BasicConstraints.");
          }
          encodeThis();
      }
docs: Set the attribute value.