org.apache.jmeter.util.keystore
Class DefaultKeyStore
java.lang.Object
org.apache.jmeter.util.keystore.JmeterKeyStore
org.apache.jmeter.util.keystore.DefaultKeyStore
public class DefaultKeyStore
- extends JmeterKeyStore
Use this Keystore to wrap the normal KeyStore implementation.
Method Summary |
java.lang.String |
getAlias()
|
java.security.cert.X509Certificate[] |
getCertificateChain()
Get the ordered certificate chain. |
java.security.PrivateKey |
getPrivateKey()
Return the private Key |
void |
load(java.io.InputStream is,
java.lang.String pword)
Process the input stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultKeyStore
public DefaultKeyStore(java.lang.String type)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public void load(java.io.InputStream is,
java.lang.String pword)
throws java.lang.Exception
- Description copied from class:
JmeterKeyStore
- Process the input stream
- Specified by:
load
in class JmeterKeyStore
- Throws:
java.lang.Exception
getCertificateChain
public final java.security.cert.X509Certificate[] getCertificateChain()
- Description copied from class:
JmeterKeyStore
- Get the ordered certificate chain.
- Specified by:
getCertificateChain
in class JmeterKeyStore
getPrivateKey
public final java.security.PrivateKey getPrivateKey()
- Description copied from class:
JmeterKeyStore
- Return the private Key
- Specified by:
getPrivateKey
in class JmeterKeyStore
getAlias
public final java.lang.String getAlias()
- Specified by:
getAlias
in class JmeterKeyStore
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.