|
QuickServer v1.4.7 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.quickserver.util.xmlreader.SecureStore
This class encapsulate the setting that help in configuring a secure store. The example xml is
....
<secure-store>
<type>JKS</type>
<algorithm>SunX509</algorithm>
<provider>SUN</provider>
<key-store-info>
<store-file></store-file>
<store-password></store-password>
<key-password></key-password>
</key-store-info>
<trust-store-info>
<store-file></store-file>
<store-password></store-password>
</trust-store-info>
<secure-store-manager>org.quickserver.security.SecureStoreManager</secure-store-manager>
</secure-store>
....
TrustStoreInfo,
KeyStoreInfo,
Secure,
Serialized Form| Constructor Summary | |
SecureStore()
|
|
| Method Summary | |
java.lang.String |
getAlgorithm()
Returns the algorithm for the QuickServer used for key management when run in a secure mode. |
KeyStoreInfo |
getKeyStoreInfo()
Returns KeyStore information. |
java.lang.String |
getProvider()
Returns the provider of keystore. |
java.lang.String |
getSecureStoreManager()
Returns the SecureStoreManager class. |
TrustStoreInfo |
getTrustStoreInfo()
Returns TrustStore information. |
java.lang.String |
getType()
Returns the type of keystore. |
void |
setAlgorithm(java.lang.String algorithm)
Sets the algorithm for the QuickServer used for key management when run in a secure mode. |
void |
setKeyStoreInfo(KeyStoreInfo keyStoreInfo)
Sets KeyStore information XML Tag: <key-store-info></key-store-info> |
void |
setProvider(java.lang.String provider)
Sets the provider of keystore. |
void |
setSecureStoreManager(java.lang.String className)
Sets the SecureStoreManager class name. |
void |
setTrustStoreInfo(TrustStoreInfo trustStoreInfo)
Sets TrustStore information XML Tag: <trust-store-info></trust-store-info> |
void |
setType(java.lang.String type)
Sets the type of keystore. |
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 |
public SecureStore()
| Method Detail |
public void setType(java.lang.String type)
JKS
type - of keystore.getType()public java.lang.String getType()
setType(java.lang.String)public void setAlgorithm(java.lang.String algorithm)
SunX509
algorithm - for key management.getAlgorithm()public java.lang.String getAlgorithm()
setAlgorithm(java.lang.String)public void setProvider(java.lang.String provider)
provider - of keystore.getProvider()public java.lang.String getProvider()
setProvider(java.lang.String)public void setKeyStoreInfo(KeyStoreInfo keyStoreInfo)
keyStoreInfo - key store informationgetKeyStoreInfo()public KeyStoreInfo getKeyStoreInfo()
setKeyStoreInfo(org.quickserver.util.xmlreader.KeyStoreInfo)public void setTrustStoreInfo(TrustStoreInfo trustStoreInfo)
trustStoreInfo - trust store informationgetTrustStoreInfo()public TrustStoreInfo getTrustStoreInfo()
setTrustStoreInfo(org.quickserver.util.xmlreader.TrustStoreInfo)public void setSecureStoreManager(java.lang.String className)
org.quickserver.security.SecureStoreManager
className - the fully qualified name of the class that
extends SecureStoreManagergetSecureStoreManager(),
SecureStoreManagerpublic java.lang.String getSecureStoreManager()
setSecureStoreManager(java.lang.String),
SecureStoreManagerpublic java.lang.String toXML(java.lang.String pad)
|
QuickServer v1.4.7 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||