com.waveset.object
Class CertificateData

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.CertificateData
All Implemented Interfaces:
javax.naming.Referenceable, XmlObject

public class CertificateData
extends AbstractXmlObject

Configuration object for managing trusted CA roots and CRLs


Field Summary
static java.lang.String ELEMENT
           
static java.lang.String KEY_CRL_CACHE_LIFETIME
           
static java.lang.String KEY_CRL_CHECKING_DISABLED
           
static java.lang.String KEY_CRL_URLS
           
static java.lang.String KEY_TRUSTED_CA_CERTS_KEYSTORE
           
static java.lang.String REPOSITORY_ID
          Repository ID of the certificate config object
static java.lang.String REPOSITORY_NAME
          Repository ID of the certificate config object
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace, code_id
 
Constructor Summary
CertificateData()
           
CertificateData(org.w3c.dom.Element element)
           
 
Method Summary
 boolean getBooleanVariable(java.lang.String name)
           
 java.lang.String getCertificateDataManager()
           
 long getCRLCacheLifetime()
           
 java.util.List getCRLURLs()
           
 java.lang.String getElementName()
          Return the element name.
 long getLongVariable(java.lang.String name)
           
 byte[] getTrustedCACertsKeystoreBytes()
           
 java.lang.Object getVariable(java.lang.String name)
           
 GenericObject getVariables()
           
 boolean isRevocationCheckingDisabled()
           
 void setCertificateDataManager(java.lang.String mgr)
           
 void setCRLCacheLifetime(long val)
           
 void setCRLURLs(java.util.List urls)
           
 void setRevocationCheckingDisabled(boolean disabled)
           
 void setTrustedCACertsKeystoreBytes(byte[] bytes)
           
 void setVariable(java.lang.String name, java.lang.Object value)
           
 void setVariables(GenericObject vars)
           
 void toXml(java.lang.StringBuffer b, int indent)
          Serialize into a buffer with optional indentation.
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY_ID

public static final java.lang.String REPOSITORY_ID
Repository ID of the certificate config object

See Also:
Constant Field Values

REPOSITORY_NAME

public static final java.lang.String REPOSITORY_NAME
Repository ID of the certificate config object

See Also:
Constant Field Values

KEY_TRUSTED_CA_CERTS_KEYSTORE

public static final java.lang.String KEY_TRUSTED_CA_CERTS_KEYSTORE
See Also:
Constant Field Values

KEY_CRL_URLS

public static final java.lang.String KEY_CRL_URLS
See Also:
Constant Field Values

KEY_CRL_CACHE_LIFETIME

public static final java.lang.String KEY_CRL_CACHE_LIFETIME
See Also:
Constant Field Values

KEY_CRL_CHECKING_DISABLED

public static final java.lang.String KEY_CRL_CHECKING_DISABLED
See Also:
Constant Field Values

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values
Constructor Detail

CertificateData

public CertificateData()

CertificateData

public CertificateData(org.w3c.dom.Element element)
                throws WavesetException
Method Detail

getCRLCacheLifetime

public long getCRLCacheLifetime()

setCRLCacheLifetime

public void setCRLCacheLifetime(long val)

isRevocationCheckingDisabled

public boolean isRevocationCheckingDisabled()

setRevocationCheckingDisabled

public void setRevocationCheckingDisabled(boolean disabled)

getTrustedCACertsKeystoreBytes

public byte[] getTrustedCACertsKeystoreBytes()

setTrustedCACertsKeystoreBytes

public void setTrustedCACertsKeystoreBytes(byte[] bytes)

getCRLURLs

public java.util.List getCRLURLs()

setCRLURLs

public void setCRLURLs(java.util.List urls)

getCertificateDataManager

public java.lang.String getCertificateDataManager()

setCertificateDataManager

public void setCertificateDataManager(java.lang.String mgr)

getVariables

public GenericObject getVariables()

setVariables

public void setVariables(GenericObject vars)

getVariable

public java.lang.Object getVariable(java.lang.String name)

getLongVariable

public long getLongVariable(java.lang.String name)

getBooleanVariable

public boolean getBooleanVariable(java.lang.String name)

setVariable

public void setVariable(java.lang.String name,
                        java.lang.Object value)

toXml

public void toXml(java.lang.StringBuffer b,
                  int indent)
Description copied from class: AbstractXmlObject
Serialize into a buffer with optional indentation. This must be implemented by the subclass.

Specified by:
toXml in interface XmlObject
Specified by:
toXml in class AbstractXmlObject

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class AbstractXmlObject