android: Import RSA/PSS flag

This commit is contained in:
Tobias Brunner
2018-07-03 11:31:42 +02:00
parent 205ec47ddb
commit 079094df18
@@ -504,6 +504,11 @@ public class VpnProfileImportActivity extends AppCompatActivity
{
profile.setLocalId(local.optString("id", null));
profile.PKCS12 = decodeBase64(local.optString("p12", null));
if (local.optBoolean("rsa-pss", false))
{
flags |= VpnProfile.FLAGS_RSA_PSS;
}
}
}