由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - java.security.KeyStore
相关主题
Help needed on Java mail security issue面试被问了个奇怪的GC问题
https certificate??Why java.lang.Iterable depends on java.util.Iterator
SSL on JBoss再请教一个 编译错误
jar文件签名Java sucks big time!
JDK Source?请问javax.portlet包在JDK的哪个jar文件里面(在线等)
Java 2D help..java SE 的源代码在哪里
请教一个MessageListener的问题这个闭包怎么写?
Windows 下 Java console application 的问题现在写代码还有人开着API么?
相关话题的讨论汇总
话题: keystore话题: android话题: does话题: why话题: what
进入Java版参与讨论
1 (共1页)
i**p
发帖数: 902
1
Android provides android.security.KeyStore. What is difference between them?
t*******e
发帖数: 684
2
just pick whichever you like.
i**p
发帖数: 902
3
Do you mean java.security.KeyStore can do whatever android.security.KeyStore
does on Android?
Then why does android provide a new one?

【在 t*******e 的大作中提到】
: just pick whichever you like.
t*******e
发帖数: 684
4
KeyStore is a place to store public-private key pairs, plus the
corresponding certificates. Why is Android different from the one comes with
JDK? App server vendors tend to bundle their own key stores in their products
too.
g*****g
发帖数: 34805
5
I would think for security reason, Google doesn't want you to
tamper the system keystore but still want to give you some restricted
access. Imagine you install an app from market, it tampers the keystore,
adds a self-signed certificate that shouldn't be trusted, intercept
your connection and start man-in-the-middle attack.

with
products

【在 t*******e 的大作中提到】
: KeyStore is a place to store public-private key pairs, plus the
: corresponding certificates. Why is Android different from the one comes with
: JDK? App server vendors tend to bundle their own key stores in their products
: too.

t*******e
发帖数: 684
6
Keystore is protected by password. As long as one has the password, he can
export the key pairs and import into another keystore. Does android keystore
have anything unique?

【在 g*****g 的大作中提到】
: I would think for security reason, Google doesn't want you to
: tamper the system keystore but still want to give you some restricted
: access. Imagine you install an app from market, it tampers the keystore,
: adds a self-signed certificate that shouldn't be trusted, intercept
: your connection and start man-in-the-middle attack.
:
: with
: products

r*****l
发帖数: 2859
7
This is not in the public API. And it does not do what Java KeyStore is
doing. Why do you have to use it?

them?

【在 i**p 的大作中提到】
: Android provides android.security.KeyStore. What is difference between them?
i**p
发帖数: 902
8
Implement an app to read the certificates' info from Android KeyStore on the
phone.

【在 r*****l 的大作中提到】
: This is not in the public API. And it does not do what Java KeyStore is
: doing. Why do you have to use it?
:
: them?

r*****l
发帖数: 2859
9
Can you provide the API and/or source android.security.KeyStore, and specify
which method you plan to use to "read the certificates' info from Android
KeyStore".
I found the source code from GrepCode but I don't think that class is for
this purpose. Maybe you are talking about a totally different animal.

the

【在 i**p 的大作中提到】
: Implement an app to read the certificates' info from Android KeyStore on the
: phone.

1 (共1页)
进入Java版参与讨论
相关主题
现在写代码还有人开着API么?JDK Source?
同一个Lock锁两次,性能比较差Java 2D help..
编程最重要的是逻辑思维能力请教一个MessageListener的问题
[转载] what does API stand for?Windows 下 Java console application 的问题
Help needed on Java mail security issue面试被问了个奇怪的GC问题
https certificate??Why java.lang.Iterable depends on java.util.Iterator
SSL on JBoss再请教一个 编译错误
jar文件签名Java sucks big time!
相关话题的讨论汇总
话题: keystore话题: android话题: does话题: why话题: what