code: public final static String getDefaultAlgorithm() {
          String type;
          type = AccessController.doPrivileged(new PrivilegedAction<String>() {
              @Override
              public String run() {
                  return Security.getProperty(
                      "ssl.KeyManagerFactory.algorithm");
              }
          });
          if (type == null) {
              type = "SunX509";
          }
          return type;
      }
docs: Obtains the default KeyManagerFactory algorithm name.
  
  <p>The default algorithm can be changed at runtime by setting
  the value of the {@code ssl.KeyManagerFactory.algorithm}
  security property to the desired algorithm name.
  
  @see java.security.Security security properties
  @return the default algorithm name as specified by the
  {@code ssl.KeyManagerFactory.algorithm} security property, or an
  implementation-specific default if no such property exists.