|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.util.keystore.JmeterKeyStore
public final class JmeterKeyStore
Use this Keystore for JMeter specific KeyStores.
Method Summary | |
---|---|
String |
getAlias()
Get the next or only alias. |
String |
getAlias(int index)
|
int |
getAliasCount()
|
X509Certificate[] |
getCertificateChain(String alias)
Get the ordered certificate chain for a specific alias. |
String[] |
getClientAliases(String keyType,
Principal[] issuers)
Compiles the list of all client aliases with a private key. |
static JmeterKeyStore |
getInstance(String type)
Create a keystore which returns the first alias only. |
static JmeterKeyStore |
getInstance(String type,
int startIndex,
int endIndex)
Create a keystore which returns a range of aliases (if available) |
PrivateKey |
getPrivateKey(String alias)
Return the private Key for a specific alias |
void |
load(InputStream is,
String pword)
Process the input stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void load(InputStream is, String pword) throws Exception
Exception
public X509Certificate[] getCertificateChain(String alias)
public String getAlias()
public int getAliasCount()
public String getAlias(int index)
public PrivateKey getPrivateKey(String alias)
public static JmeterKeyStore getInstance(String type, int startIndex, int endIndex) throws Exception
type
- store type (e.g. JKS)startIndex
- first index (from 0)endIndex
- last index (to count -1)
Exception
public static JmeterKeyStore getInstance(String type) throws Exception
type
- e.g. JKS
Exception
public String[] getClientAliases(String keyType, Principal[] issuers)
keyType
- the key algorithm type name (RSA, DSA, etc.)issuers
- the CA certificates we are narrowing our selection on.
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |