Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
P
R
S
T
X
A
AllTests
- class pk.edu.niit.clarens.test.
AllTests
.
Master test suite for all of the jclarens unit tests.
AllTests(String)
- Constructor for class pk.edu.niit.clarens.test.
AllTests
Constructor.
auth(Vector)
- Method in class pk.edu.niit.clarens.
ClarensServer
Authenticate a user.
auth2(Vector)
- Method in class pk.edu.niit.clarens.
ClarensServer
Authenticate a user.
B
base64BlockData
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
C
CertUtil
- class pk.edu.niit.clarens.util.
CertUtil
.
A collection of useful routines for reading certificates and keys from files.
CertUtilTest
- class pk.edu.niit.clarens.test.
CertUtilTest
.
Tests of the static utility methods provided by the
CertUtil
class.
CertUtilTest(String)
- Constructor for class pk.edu.niit.clarens.test.
CertUtilTest
Create a named test case.
CertificateBlock
- class pk.edu.niit.clarens.util.
CertificateBlock
.
This class represents a PEM encoded certificate.
CertificateBlock(String)
- Constructor for class pk.edu.niit.clarens.util.
CertificateBlock
Load a new PEM certificate from a string of data.
CertificateBlock(BufferedInputStream)
- Constructor for class pk.edu.niit.clarens.util.
CertificateBlock
Load a new PEM certificate from a stream of data.
CertificateBlockTest
- class pk.edu.niit.clarens.test.
CertificateBlockTest
.
Tests of the class that manage certificate pem blocks.
CertificateBlockTest(String)
- Constructor for class pk.edu.niit.clarens.test.
CertificateBlockTest
Create a named test case.
CertificateChain
- class pk.edu.niit.clarens.util.
CertificateChain
.
Utility class for managing a certificate chain.
CertificateChain(BufferedReader)
- Constructor for class pk.edu.niit.clarens.util.
CertificateChain
Load a certificate chain from an input reader.
CertificateChainFromFile(String)
- Static method in class pk.edu.niit.clarens.util.
CertUtil
Load a certificate chain from a file.
CertificateFromFile(String)
- Static method in class pk.edu.niit.clarens.util.
CertUtil
Load a certificate from a file.
ClarensClient
- class pk.edu.niit.clarens.client.
ClarensClient
.
A xmlrpc client for use with clarens servers.
ClarensClient(String, String, String)
- Constructor for class pk.edu.niit.clarens.client.
ClarensClient
Constructor.
ClarensClient(String)
- Constructor for class pk.edu.niit.clarens.client.
ClarensClient
Constructor.
ClarensServer
- class pk.edu.niit.clarens.
ClarensServer
.
Handler for xmlrpc "system" methods.
ClarensServer()
- Constructor for class pk.edu.niit.clarens.
ClarensServer
Trivial constructor.
ClarensServer(String)
- Constructor for class pk.edu.niit.clarens.
ClarensServer
Construct a handler.
ClarensTestCase
- class pk.edu.niit.clarens.test.
ClarensTestCase
.
Common test requirements for all clarens tests are satisfied here.
ClarensTestCase(String)
- Constructor for class pk.edu.niit.clarens.test.
ClarensTestCase
ConfigurableRpcHandler
- interface pk.edu.niit.clarens.
ConfigurableRpcHandler
.
certificate
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
client
- Variable in class pk.edu.niit.clarens.test.
ClarensTestCase
clientCertFile
- Variable in class pk.edu.niit.clarens.test.
ClarensTestCase
clientKeyFile
- Variable in class pk.edu.niit.clarens.test.
ClarensTestCase
configure(Properties)
- Method in class pk.edu.niit.clarens.
XmlRpcServlet
Create and configure the xmlrpc handlers defined as properties.
connect()
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Connect to the remote server.
D
derBlockData
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
doGet(HttpServletRequest, HttpServletResponse)
- Method in class pk.edu.niit.clarens.
XmlRpcServlet
Process a HTTP GET request.
doPost(HttpServletRequest, HttpServletResponse)
- Method in class pk.edu.niit.clarens.
XmlRpcServlet
Process a POST request.
E
EchoMethod
- class pk.edu.niit.clarens.
EchoMethod
.
Handler for xmlrpc "echo" methods.
EchoMethod()
- Constructor for class pk.edu.niit.clarens.
EchoMethod
Trivial constructor.
EchoMethodTest
- class pk.edu.niit.clarens.test.
EchoMethodTest
.
Tests of the "echo.*" class of xmlrpc methods.
EchoMethodTest(String)
- Constructor for class pk.edu.niit.clarens.test.
EchoMethodTest
Create a named test case.
echo(Vector)
- Method in class pk.edu.niit.clarens.
EchoMethod
Echo the input parameters as the result.
execute(String, Vector, String, String)
- Method in class pk.edu.niit.clarens.
ClarensServer
Handle a xmlrpc request.
execute(String, Vector)
- Method in class pk.edu.niit.clarens.
ClarensServer
Handle a xmlrpc request with no user information.
execute(String, Vector, String, String)
- Method in class pk.edu.niit.clarens.
EchoMethod
Handle a xmlrpc request.
execute(String, Vector)
- Method in class pk.edu.niit.clarens.
EchoMethod
Handle a xmlrpc request with no user information.
execute(String, Vector, String, String)
- Method in class pk.edu.niit.clarens.
FileMethods
Handle a xmlrpc request.
execute(String, Vector)
- Method in class pk.edu.niit.clarens.
FileMethods
Handle a xmlrpc request with no user information.
F
FOOTER
- Static variable in class pk.edu.niit.clarens.util.
CertificateBlock
FOOTER
- Static variable in class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
FOOTER
- Static variable in class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
FileMethodTest
- class pk.edu.niit.clarens.test.
FileMethodTest
.
Tests of the "file.*" xmlrpc methods.
FileMethodTest(String)
- Constructor for class pk.edu.niit.clarens.test.
FileMethodTest
Create a named test case.
FileMethods
- class pk.edu.niit.clarens.
FileMethods
.
Handler for xmlrpc "file" methods.
FileMethods()
- Constructor for class pk.edu.niit.clarens.
FileMethods
Trivial constructor.
footer
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
G
getCertBaseDir()
- Method in class pk.edu.niit.clarens.
ClarensServer
Get the location of the directory containing the server certificate.
getCertChainPEM()
- Method in class pk.edu.niit.clarens.util.
CertificateChain
Get a PEM encoded representation of the certificate chain.
getCertficateChain()
- Method in class pk.edu.niit.clarens.util.
CertificateChain
Get all of the certificates in the certificate chain.
getCertificate()
- Method in class pk.edu.niit.clarens.util.
CertificateBlock
Get the certificate represented by this block.
getCertificate()
- Method in class pk.edu.niit.clarens.util.
CertificateChain
Get the first certificate from the chain.
getCertificate()
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get the certificate represented by this block.
getCertificate()
- Method in class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
Get the certificate from this block.
getCertificate()
- Method in class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
Get the certificate from this block.
getClientCertFile()
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Get the location of the client certificate.
getClientPrivateKeyFile()
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Get the value of the clientPrivateKeyFile property
getInstance(String)
- Static method in class pk.edu.niit.clarens.util.
PEMBlock
Load a PEM-encoded certificate or key block from a string.
getInstance(BufferedReader)
- Static method in class pk.edu.niit.clarens.util.
PEMBlock
Load a PEM-encoded certificate or key block from an input reader.
getPem()
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get the PEM data as a string.
getPrivateKey()
- Method in class pk.edu.niit.clarens.util.
CertificateBlock
Get the private key from this block.
getPrivateKey(String)
- Method in class pk.edu.niit.clarens.util.
CertificateBlock
Get the private key from this block.
getPrivateKey()
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get the unencrypted private key structure represented by this block.
getPrivateKey(String)
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get the encrypted private key structure represented by this block.
getPrivateKey()
- Method in class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
Get the private key structure represented by this block.
getPrivateKey(String)
- Method in class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
Get the encrypted private key structure represented by this block.
getPrivateKey()
- Method in class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
Get the unencrypted private key structure represented by this block.
getPrivateKey(String)
- Method in class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
Get the encrypted private key structure represented by this block.
getPublicKey()
- Method in class pk.edu.niit.clarens.util.
CertificateChain
Get the public key from the user's certificate.
getType()
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get the type of block.
getTypeString()
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Get a string description of this block type.
grep(Vector, String)
- Method in class pk.edu.niit.clarens.
FileMethods
Search a list of files for lines matching a specific pattern.
H
HEADER
- Static variable in class pk.edu.niit.clarens.util.
CertificateBlock
HEADER
- Static variable in class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
HEADER
- Static variable in class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
header
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
I
init()
- Method in class pk.edu.niit.clarens.
XmlRpcServlet
Perform any servlet startup initialization.
isConnected()
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Indicates if the client has made a successful authenticated connection to the server.
L
load(BufferedInputStream)
- Method in class pk.edu.niit.clarens.util.
CertificateBlock
Decode a PEM encoded block into more usable data.
load(String)
- Method in class pk.edu.niit.clarens.util.
CertificateBlock
Decode a PEM encoded block into more usable data.
load(String)
- Method in class pk.edu.niit.clarens.util.
PEMBlock
Decode a PEM encoded block into more usable data.
loadCertificate()
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Load the client certificate and private key.
logger
- Variable in class pk.edu.niit.clarens.util.
CertificateBlock
logout(Vector)
- Method in class pk.edu.niit.clarens.
ClarensServer
Logout the user.
ls(String, String)
- Method in class pk.edu.niit.clarens.
FileMethods
Get the contents of a directory.
M
md5(String)
- Method in class pk.edu.niit.clarens.
FileMethods
Generate a md5 sum for a file.
P
PEMBlock
- class pk.edu.niit.clarens.util.
PEMBlock
.
This class represents an arbitrary block of PEM encoded data.
PEMBlockTest
- class pk.edu.niit.clarens.test.
PEMBlockTest
.
Test the static methods used to create generic
PEMBlock
instances.
PEMBlockTest(String)
- Constructor for class pk.edu.niit.clarens.test.
PEMBlockTest
Create a named test case.
PEM_CERTIFICATE
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
A PEM-encoded certificate.
PEM_OPENSSL_DSA
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
An openssl traditional format private DSA key.
PEM_OPENSSL_RSA
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
An openssl traditional format private RSA key.
PEM_PKCS8_ENCRYPTED
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
A PKCS#8 encrypted private key.
PEM_PKCS8_UNENCRYPTED
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
A PKCS#8 unencrypted private key.
PEM_UNKNOWN
- Static variable in class pk.edu.niit.clarens.util.
PEMBlock
An unknown PEM-encoded block.
PEMdata
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
PKCS8UnencryptedPrivateKeyBlock
- class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
.
This class represents a PKCS8 private key.
PKCS8UnencryptedPrivateKeyBlock(String)
- Constructor for class pk.edu.niit.clarens.util.
PKCS8UnencryptedPrivateKeyBlock
Load a new PKCS8 private key from a string of data.
PKCS8UnencryptedPrivateKeyBlockTest
- class pk.edu.niit.clarens.test.
PKCS8UnencryptedPrivateKeyBlockTest
.
Tests of the class that manage PKCS8 format private key pem blocks.
PKCS8UnencryptedPrivateKeyBlockTest(String)
- Constructor for class pk.edu.niit.clarens.test.
PKCS8UnencryptedPrivateKeyBlockTest
Create a named test case.
PrivateKeyFromFile(String)
- Static method in class pk.edu.niit.clarens.util.
CertUtil
Load an unencrypted private key from a file.
pk.edu.niit.clarens
- package pk.edu.niit.clarens
pk.edu.niit.clarens.client
- package pk.edu.niit.clarens.client
pk.edu.niit.clarens.test
- package pk.edu.niit.clarens.test
pk.edu.niit.clarens.util
- package pk.edu.niit.clarens.util
privateKey
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
R
RSAPrivateKeyBlock
- class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
.
This class represents a RSA private key.
RSAPrivateKeyBlock(String)
- Constructor for class pk.edu.niit.clarens.util.
RSAPrivateKeyBlock
Load a new openssl traditional private key from a string of data.
RSAPrivateKeyBlockTest
- class pk.edu.niit.clarens.test.
RSAPrivateKeyBlockTest
.
Tests of the class that manage openssl traditional private key pem blocks.
RSAPrivateKeyBlockTest(String)
- Constructor for class pk.edu.niit.clarens.test.
RSAPrivateKeyBlockTest
Create a named test case.
ReadBeginEnd(BufferedReader)
- Static method in class pk.edu.niit.clarens.util.
PEMBlock
Returns the text between -----BEGIN XXXX----- and -----END XXXX----- read from the provided inputReader.
ReadBeginEnd(String)
- Static method in class pk.edu.niit.clarens.util.
PEMBlock
Returns the text between -----BEGIN XXXX----- and -----END XXXX----- read from the provided string.
read(String, int, int)
- Method in class pk.edu.niit.clarens.
FileMethods
Read the contents of a file.
S
SystemMethodTest
- class pk.edu.niit.clarens.test.
SystemMethodTest
.
Tests of the "system.*" xmlrpc methods.
SystemMethodTest(String)
- Constructor for class pk.edu.niit.clarens.test.
SystemMethodTest
Create a named test case.
serverUrl
- Variable in class pk.edu.niit.clarens.test.
ClarensTestCase
set(String, String)
- Method in class pk.edu.niit.clarens.
ClarensServer
Set a property for a xmlrpc handler.
set(String, String)
- Method in interface pk.edu.niit.clarens.
ConfigurableRpcHandler
Set a property for a xmlrpc handler.
setCertBaseDir(String)
- Method in class pk.edu.niit.clarens.
ClarensServer
Set the location of the directory containing the server certificate.
setClientCertFile(String)
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Set the location of the client certificate.
setClientPrivateKeyFile(String)
- Method in class pk.edu.niit.clarens.client.
ClarensClient
Set the location of the client's private key file.
setUp()
- Method in class pk.edu.niit.clarens.test.
EchoMethodTest
Set up for the unit tests.
setUp()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Set up for the unit tests.
setUp()
- Method in class pk.edu.niit.clarens.test.
SystemMethodTest
Set up for the unit tests.
size(String)
- Method in class pk.edu.niit.clarens.
FileMethods
Get the size of the file.
stat(String)
- Method in class pk.edu.niit.clarens.
FileMethods
Get information about a file.
suite()
- Static method in class pk.edu.niit.clarens.test.
AllTests
Create a test suite from the individual test suite classes.
suite()
- Static method in class pk.edu.niit.clarens.test.
FileMethodTest
Create a test suite from the individual unit tests.
suite()
- Static method in class pk.edu.niit.clarens.test.
SystemMethodTest
Create a test suite from the individual unit tests.
T
tearDown()
- Method in class pk.edu.niit.clarens.test.
EchoMethodTest
Cleanup after a unit test has run.
tearDown()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Cleanup after a unit test has run.
tearDown()
- Method in class pk.edu.niit.clarens.test.
SystemMethodTest
Cleanup after a unit test has run.
testAuth()
- Method in class pk.edu.niit.clarens.test.
SystemMethodTest
Test the system.auth method.
testAuth2()
- Method in class pk.edu.niit.clarens.test.
SystemMethodTest
Test the system.auth2 method.
testBareCertificateChain()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a certificate from a file with no text preceding the -----BEGIN certificate header.
testBareCertificateRead()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a certificate from a file without any text preceding the -----BEGIN certificate header.
testCertFileWithJunk()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Read a certificate from a PEM file that contains text before the PEM header.
testCertReadOfKeyStream()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Attempt to read non-certificate PEM data into a certificate.
testCertReadOfKeyString()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Attempt to read non-certificate PEM data into a certificate.
testCertStream()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Read a certificate from a stream of data.
testCertStreamWithJunk()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Read a certificate from a PEM file that contains text before the PEM header.
testCertString()
- Method in class pk.edu.niit.clarens.test.
CertificateBlockTest
Read a certificate from string data.
testCertificate()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a certificate from a file with text preceding the -----BEGIN certificate header.
testCertificateChain()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a certificate chain from a file with text preceding the -----BEGIN certificate header.
testEchoPerformance()
- Method in class pk.edu.niit.clarens.test.
EchoMethodTest
Run a simple performance test against the server to measure how it performs against repeated calls.
testHeteroEcho()
- Method in class pk.edu.niit.clarens.test.
EchoMethodTest
Test the echo method with a variety of argument types.
testLsDotGlobPattern()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.ls method with a glob pattern.
testLsGlobDotGlobPattern()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.ls method with a glob pattern.
testLsGlobPattern()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.ls method with a glob pattern.
testLsNoPattern()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.ls method with a glob pattern.
testPKCS8KeyString()
- Method in class pk.edu.niit.clarens.test.
PKCS8UnencryptedPrivateKeyBlockTest
Read a private key from string data.
testPKCS8PrivateKeyMismatch()
- Method in class pk.edu.niit.clarens.test.
PKCS8UnencryptedPrivateKeyBlockTest
Attempt to read a traditional private key from string data.
testPkcs8Key()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a PKCS#8 private key from a file.
testPkcs8PrivateKeyReader()
- Method in class pk.edu.niit.clarens.test.
PEMBlockTest
Load an PKCS#8 private key from an input reader.
testPkcs8PrivateKeyString()
- Method in class pk.edu.niit.clarens.test.
PEMBlockTest
Load an PKCS#8 private key from a string.
testRSAKeyString()
- Method in class pk.edu.niit.clarens.test.
RSAPrivateKeyBlockTest
Read a private key from string data.
testRSAPrivateKeyMismatch()
- Method in class pk.edu.niit.clarens.test.
RSAPrivateKeyBlockTest
Attempt to read a PKCS8 private key from string data.
testReadPerformance()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.read method with a simple small file.
testSetup()
- Method in class pk.edu.niit.clarens.test.
SystemMethodTest
Basic xmlrpc connection test.
testSimpleEcho()
- Method in class pk.edu.niit.clarens.test.
EchoMethodTest
Test the echo method with a single integer argument.
testSimpleRead()
- Method in class pk.edu.niit.clarens.test.
FileMethodTest
Test the file.read method with a simple small file.
testTraditionalKey()
- Method in class pk.edu.niit.clarens.test.
CertUtilTest
Read a traditional private key from a file.
testTraditionalPrivateKeyReader()
- Method in class pk.edu.niit.clarens.test.
PEMBlockTest
Load an openssl traditional private key from an input reader.
testTraditionalPrivateKeyString()
- Method in class pk.edu.niit.clarens.test.
PEMBlockTest
Load an openssl traditional private key from a string.
type
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
typeString
- Variable in class pk.edu.niit.clarens.util.
PEMBlock
X
XMLRPC_HANDLERS
- Static variable in class pk.edu.niit.clarens.
XmlRpcServlet
The token identifier for the xmlrpc handlers.
XMLRPC_SERVER
- Static variable in class pk.edu.niit.clarens.
XmlRpcServlet
The token identifier for the xmlrpc server.
XmlRpcServlet
- class pk.edu.niit.clarens.
XmlRpcServlet
.
Servlet handler for xmlrpc requests.
XmlRpcServlet()
- Constructor for class pk.edu.niit.clarens.
XmlRpcServlet
A
B
C
D
E
F
G
H
I
L
M
P
R
S
T
X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes