am 2cf3971e: Merge change 4460 into donut

Merge commit '2cf3971ea4d22f8981ae71e6ba358f19e1628d09'

* commit '2cf3971ea4d22f8981ae71e6ba358f19e1628d09':
  Use the new keystore API in vpn service.
This commit is contained in:
Android (Google) Code Review
2009-06-17 15:38:47 -07:00
committed by The Android Open Source Project

View File

@@ -50,16 +50,17 @@ class L2tpIpsecService extends VpnService<L2tpIpsecProfile> {
}
private String getCaCertPath() {
return Keystore.getInstance().getCertificate(
return Keystore.getInstance().getCaCertificate(
getProfile().getCaCertificate());
}
private String getUserCertPath() {
return Keystore.getInstance().getCertificate(
return Keystore.getInstance().getUserCertificate(
getProfile().getUserCertificate());
}
private String getUserkeyPath() {
return Keystore.getInstance().getUserkey(getProfile().getUserkey());
return Keystore.getInstance().getUserPrivateKey(
getProfile().getUserCertificate());
}
}