Created
August 24, 2012 05:57
-
-
Save kojiokb/3446191 to your computer and use it in GitHub Desktop.
SSLルート証明書
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.Activity; | |
import android.os.Bundle; | |
import android.widget.TextView; | |
public class MainActivity extends Activity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
TextView textView = (TextView) findViewById(R.id.textView); | |
String trustStorePath = System.getProperty("javax.net.ssl.trustStore"); | |
textView.setText(trustStorePath != null ? trustStorePath : "null"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment