jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: JMeterKeyStore questions
Date Sun, 28 Dec 2014 13:31:51 GMT
Hi,

On Sun, Dec 28, 2014 at 1:02 PM, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

> Hi all,
>
> I have two questions regarding JMeterKeyStore.
>
> 1) in getAlias(int) we throw an ArrayIndexOutOfBoundsException, when the
> parameter is outside of the used array. Isn't this the default behaviour of
> the next statement? Maybe this should have been an IllegalArgumentException?
>
Yes maybe it would be better.

>
> 2) it is not clear to me, what the startIndex and endIndex field should
> contain. I would have thought, that they refer to the number of keys/certs
> in the loaded store, but in the method load(InputStream, string) the used
> index gets only incremented, when a key is found. Is this the intended
> behaviour?
>
index refers to number of private Keys in loaded store, it is only
incremented for private keys. startIndex and endIndex are used to load keys
from startIndex to endIndex.

>
> Regards
>  Felix
>

Regards
Philippe

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message