code: static Instance getInstance(String type, Class clazz, String algorithm,
              String provider) throws NoSuchAlgorithmException,
              NoSuchProviderException {
          Service s = GetInstance.getService(type, algorithm, provider);
          /* ----- BEGIN j2objc -----
          Exception ve = getVerificationResult(s.getProvider());
          if (ve != null) {
              String msg = "JCE cannot authenticate the provider " + provider;
              throw (NoSuchProviderException)
                                  new NoSuchProviderException(msg).initCause(ve);
          }
          ----- END j2objc ----- */
          return GetInstance.getInstance(s, clazz);
      }
docs: /* ----- BEGIN android -----
  static {
  try {
  AccessController.doPrivileged(new PrivilegedExceptionAction() {
  public Object run() throws Exception {
  setupJurisdictionPolicies();
  return null;
  }
  });
  
  isRestricted = defaultPolicy.implies(
  CryptoAllPermission.INSTANCE) ? false : true;
  } catch (Exception e) {
  SecurityException se =
  new SecurityException(
  "Can not initialize cryptographic mechanism");
  se.initCause(e);
  throw se;
  }
  }
  ----- END android -----