if (keyUsage != null) return keyUsage.toBooleanArray();
Extension e = getExtension(KeyUsage.ID); if (e != null) { KeyUsage ku = (KeyUsage) e.getValue(); boolean[] result = new boolean[9]; boolean[] b = ku.getKeyUsage().toBooleanArray(); System.arraycopy(b, 0, result, 0, b.length); return result; }
  public boolean[] getKeyUsage()  {    if (keyUsage != null)      return keyUsage.toBooleanArray();    return null;  }