diff options
| -rw-r--r-- | docs/html/training/articles/keystore.jd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/html/training/articles/keystore.jd b/docs/html/training/articles/keystore.jd index aa1ed0acb3a7..026f7a0d8785 100644 --- a/docs/html/training/articles/keystore.jd +++ b/docs/html/training/articles/keystore.jd @@ -152,8 +152,10 @@ and {@link java.security.KeyPairGenerator} or <p>Generating a new {@link java.security.PrivateKey} requires that you also specify the initial X.509 attributes that the self-signed - certificate will have. You can replace the certificate at a later - time with a certificate signed by a Certificate Authority.</p> + certificate will have. You can use + {@link java.security.KeyStore#setKeyEntry(String, java.security.Key, char[], java.security.cert.Certificate[]) KeyStore.setKeyEntry} + to replace the certificate at a later time with a certificate signed + by a Certificate Authority (CA).</p> <p>To generate the key, use a {@link java.security.KeyPairGenerator} with {@link android.security.KeyPairGeneratorSpec}:</p> |