Add ECDH and ECDSA values

This commit is contained in:
Dominik Schürmann 2014-08-21 15:40:09 +02:00
parent aa35f6cffb
commit 3acbe9052f
2 changed files with 6 additions and 0 deletions

View File

@ -149,6 +149,10 @@ public class AddSubkeyDialogFragment extends DialogFragment {
} }
choices.add(new Choice(PublicKeyAlgorithmTags.RSA_GENERAL, getResources().getString( choices.add(new Choice(PublicKeyAlgorithmTags.RSA_GENERAL, getResources().getString(
R.string.rsa))); R.string.rsa)));
choices.add(new Choice(PublicKeyAlgorithmTags.ECDH, getResources().getString(
R.string.ecdh)));
choices.add(new Choice(PublicKeyAlgorithmTags.ECDSA, getResources().getString(
R.string.ecdsa)));
ArrayAdapter<Choice> adapter = new ArrayAdapter<Choice>(context, ArrayAdapter<Choice> adapter = new ArrayAdapter<Choice>(context,
android.R.layout.simple_spinner_item, choices); android.R.layout.simple_spinner_item, choices);
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);

View File

@ -156,6 +156,8 @@
<string name="dsa">DSA</string> <string name="dsa">DSA</string>
<string name="elgamal">ElGamal</string> <string name="elgamal">ElGamal</string>
<string name="rsa">RSA</string> <string name="rsa">RSA</string>
<string name="ecdh">ECDH</string>
<string name="ecdsa">ECDSA</string>
<string name="filemanager_title_open">Open…</string> <string name="filemanager_title_open">Open…</string>
<string name="warning">Warning</string> <string name="warning">Warning</string>
<string name="error">Error</string> <string name="error">Error</string>