QuickServer
v1.4.7

org.quickserver.util.xmlreader
Class TrustStoreInfo

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

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

This class encapsulate Trust Store. The example xml is

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

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

Constructor Summary
TrustStoreInfo()
           
 
Method Summary
 java.lang.String getProvider()
          Returns the provider of keystore.
 java.lang.String getStoreFile()
          Returns the store file path.
 java.lang.String getStorePassword()
          Returns store password.
 java.lang.String getType()
          Returns the type of truststore.
 void setProvider(java.lang.String provider)
          Sets the provider of trust store.
 void setStoreFile(java.lang.String storeFile)
          Sets the store file path.
 void setStorePassword(java.lang.String storePassword)
          Sets the store password.
 void setType(java.lang.String type)
          Sets the type of trust store.
 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

TrustStoreInfo

public TrustStoreInfo()
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)

setType

public void setType(java.lang.String type)
Sets the type of trust store. If not set, it will use value from SecureStore
XML Tag: <type>JKS</type>

Parameters:
type - of keystore.
See Also:
getType()

getType

public java.lang.String getType()
Returns the type of truststore.

See Also:
setType(java.lang.String)

setProvider

public void setProvider(java.lang.String provider)
Sets the provider of trust store. If not set, it will use value from SecureStore
XML Tag: <provider>SUN</provider>

Parameters:
provider - of keystore.
See Also:
getProvider()

getProvider

public java.lang.String getProvider()
Returns the provider of keystore.

See Also:
setProvider(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