Re: Repeated Certificates

2006-12-01 Thread alvolkov
Igor, CryptoStore().getCertificates() returns an array of X509Certificate available in the store. It is possibility, that you are printing a reference to the returned array instead of references to certs. My test code that prints certs from internal cert store works properly. Can you please add

Re: Problem with JSS PFX when attempting to decode a p12 file

2006-12-01 Thread Nelson B
Bill Price wrote: > I am getting an error trying to read a p12 file using JSS and examining its > components. I am getting the error: > > java.security.InvalidAlgorithmParameterException: RC2/CBC/NoPadding cannot > use a null parameter This is a question for our JSS guru, who presently is on le

Re: Repeated Certificates

2006-12-01 Thread Igor Delacroix
Nelson B escreveu: Igor Delacroix wrote: Good Day All, I have a token with 2 certs, 2 PublicKeys and 2 PrivateKeys for example cert1 pubk1 privk1 cert2 pubk2 privk2 And I need to show all certificates in a list to user. But the statement [code] cert = token.getCryptoStore().getCerti

Re: Repeated Certificates

2006-12-01 Thread Nelson B
Igor Delacroix wrote: > Good Day All, > > I have a token with 2 certs, 2 PublicKeys and 2 PrivateKeys > > for example > cert1 > pubk1 > privk1 > > cert2 > pubk2 > privk2 > > And I need to show all certificates in a list to user. > But the statement > > [code] > cert = token.getCryptoStor

Re: deletion of keys using certutil

2006-12-01 Thread Nelson B
Biswatosh wrote: > I wrote some functions so that certutil can display keys with their CKA_IDS > in hex and also given a CKA_ID in hex, it can find the key and can delete it > as well. But, then the main prob remains. The goal in that bug(291383) is to > supply CertReq as an input to certutil, in

Repeated Certificates

2006-12-01 Thread Igor Delacroix
Good Day All, I have a token with 2 certs, 2 PublicKeys and 2 PrivateKeys for example cert1 pubk1 privk1 cert2 pubk2 privk2 And I need to show all certificates in a list to user. But the statement [code] cert = token.getCryptoStore().getCertificates(); [/code] Returns me only one of

deletion of keys using certutil

2006-12-01 Thread Biswatosh
Hi, I wrote some functions so that certutil can display keys with their CKA_IDS in hex and also given a CKA_ID in hex, it can find the key and can delete it as well. But, then the main prob remains. The goal in that bug(291383) is to supply CertReq as an input to certutil, in order to delete