KeyStore.PasswordProtection protPass1 = new KeyStore.PasswordProtection(
pass);
KeyStore.ProtectionParameter [] pp = { protPass, protPass1,
callbackHand, myProtParam };
TestKeyPair tkp = new TestKeyPair("DSA");
Certificate certs[] = {
new MCertificate("DSA", tkp.getPrivate()
.getEncoded()),
new MCertificate("DSA", tkp.getPrivate()
.getEncoded()) };
PrivateKey privKey = tkp.getPrivate();
KeyStore.PrivateKeyEntry pKey = new KeyStore.PrivateKeyEntry(privKey,
certs);
for (int i = 0; i < pp.length; i++) {
ks = KeyStore.getInstance(defaultType);