BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-19-2010, 02:09 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation how to bypass keystore password prompt??

Please Login to Remove!

i am trying to develop an app which tries to call a https(godaddy ssl) url.when i a installing certificate programatically using this code.
Code:
public void addCertToDeviceKeyStore(Certificate certificate) {
        KeyStore keyStore = DeviceKeyStore.getInstance();
        // check if certificate is not already in the DeviceKeyStore
        if (!keyStore.isMember(certificate)) {
            try {

                String SFN = certificate.getSubjectFriendlyName();
                CertificateStatus CS = certificate.getStatus();
                keyStore.set(null, SFN, certificate, CS, keyStore.getTicket());

            } catch (Exception e) {
            }
        }
    }
its asking for keystore password.its very scary for most of the users they know what is this.

So is there any way that i install certificate in keystore without asking key store password from user.
__________________
blog.vimviv.com
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

(5PCS) PCA24S08DP,118 IC EEPROM 8KBIT 400KHZ 8TSSOP PCA24S08DP 24S08 PCA24S08
$8.8
(5PCS) PCA24S08DP,118 IC EEPROM 8KBIT 400KHZ 8TSSOP PCA24S08DP 24S08 PCA24S08 pictureMitsubishi FX1N-EEPROM-8L FX1NEEPROM8L
$55.0
Mitsubishi FX1N-EEPROM-8L FX1NEEPROM8L  picture(5PCS) CAT25256XI-T2 IC EEPROM 256KBIT 10MHZ 8SOIC 25256 CAT25256
$7.45
(5PCS) CAT25256XI-T2 IC EEPROM 256KBIT 10MHZ 8SOIC 25256 CAT25256 picture(5PCS) CAT25020YI-GT3 IC EEPROM 2KBIT 10MHZ 8TSSOP 25020 CAT25020
$2.81
(5PCS) CAT25020YI-GT3 IC EEPROM 2KBIT 10MHZ 8TSSOP 25020 CAT25020 picture(1PCS) 24LC1025T-I/SM IC EEPROM 1MBIT 400KHZ 8SOIC 24LC1025T-I 24LC1025 24LC1025
$5.27
(1PCS) 24LC1025T-I/SM IC EEPROM 1MBIT 400KHZ 8SOIC 24LC1025T-I 24LC1025 24LC1025 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.