QuickServer
v1.4.7

org.quickserver.util.xmlreader
Class KeyStoreInfo

java.lang.Object
  extended byorg.quickserver.util.xmlreader.KeyStoreInfo
All Implemented Interfaces:
java.io.Serializable

public class KeyStoreInfo
extends java.lang.Object
implements java.io.Serializable

This class encapsulate Key Store. The example xml is

        ....
        <key-store-info>
                <store-file>NONE</store-file>
                <store-password></store-password>
                <key-password></key-password>
        </key-store-info>
        ....
 

Since:
1.4
Author:
Akshathkumar Shetty
See Also:
TrustStoreInfo, SecureStore, Secure, Serialized Form

Constructor Summary
KeyStoreInfo()
           
 
Method Summary
 java.lang.String getKeyPassword()
          Returns key password.
 java.lang.String getStoreFile()
          Returns the store file path.
 java.lang.String getStorePassword()
          Returns store password.
 void setKeyPassword(java.lang.String keyPassword)
          Sets the key password.
 void setStoreFile(java.lang.String storeFile)
          Sets the store file path.
 void setStorePassword(java.lang.String storePassword)
          Sets the store password.
 java.lang.String toXML(java.lang.String pad)
          Returns XML config of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreInfo

public KeyStoreInfo()
Method Detail

setStoreFile

public void setStoreFile(java.lang.String storeFile)
Sets the store file path. This can be either absolute or relative(to config file) path to the store file. XML Tag: <store-file>NONE</store-file>

Parameters:
storeFile - store file.
See Also:
getStoreFile()

getStoreFile

public java.lang.String getStoreFile()
Returns the store file path. This can be either absolute or relative(to config file) path to the store file.

See Also:
setStoreFile(java.lang.String)

setStorePassword

public void setStorePassword(java.lang.String storePassword)
Sets the store password. XML Tag: <store-password></store-password>

Parameters:
storePassword - store password
See Also:
getStorePassword()

getStorePassword

public java.lang.String getStorePassword()
Returns store password.

See Also:
setStorePassword(java.lang.String)

setKeyPassword

public void setKeyPassword(java.lang.String keyPassword)
Sets the key password. XML Tag: <key-password></key-password>

Parameters:
keyPassword - key password
See Also:
getKeyPassword()

getKeyPassword

public java.lang.String getKeyPassword()
Returns key password.

See Also:
setKeyPassword(java.lang.String)

toXML

public java.lang.String toXML(java.lang.String pad)
Returns XML config of this class.


QuickServer
v1.4.7

Copyright © 2003-2006 QuickServer.org