Apache CXF API

org.apache.cxf.configuration.security
Class CertStoreType

java.lang.Object
  extended by org.apache.cxf.configuration.security.CertStoreType

public class CertStoreType
extends Object

A CertStoreType represents a catenated sequence of X.509 certificates, in PEM or DER format. The "url", "file", and "resource" attributes are intended to be mutually exclusive, though this assumption is not encoded in schema. The precedence order observed by the runtime is 1) "file", 2) "resource", and 3) "url".

Java class for CertStoreType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CertStoreType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="resource" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String file
          This attribute specifies the File location of the certificate store.
protected  String resource
          This attribute specifies the Resource location of the certificate store.
protected  String url
          This attribute specifies the URL location of the certificate store.
 
Constructor Summary
CertStoreType()
           
 
Method Summary
 String getFile()
          Gets the value of the file property.
 String getResource()
          Gets the value of the resource property.
 String getUrl()
          Gets the value of the url property.
 boolean isSetFile()
           
 boolean isSetResource()
           
 boolean isSetUrl()
           
 void setFile(String value)
          Sets the value of the file property.
 void setResource(String value)
          Sets the value of the resource property.
 void setUrl(String value)
          Sets the value of the url property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected String file
This attribute specifies the File location of the certificate store. This element should be a properly accessible file from the working directory. Only one attribute of "url", "file", or "resource" is allowed.


resource

protected String resource
This attribute specifies the Resource location of the certificate store. This element should be a properly accessible on the classpath. Only one attribute of "url", "file", or "resource" is allowed.


url

protected String url
This attribute specifies the URL location of the certificate store. This element should be a properly accessible URL, such as "http://..." "file:///...", etc. Only one attribute of "url", "file", or "resource" is allowed.

Constructor Detail

CertStoreType

public CertStoreType()
Method Detail

getFile

public String getFile()
Gets the value of the file property.

This attribute specifies the File location of the certificate store. This element should be a properly accessible file from the working directory. Only one attribute of "url", "file", or "resource" is allowed.

Returns:
possible object is String

setFile

public void setFile(String value)
Sets the value of the file property.

Parameters:
value - allowed object is String
See Also:
getFile()

isSetFile

public boolean isSetFile()

getResource

public String getResource()
Gets the value of the resource property.

This attribute specifies the Resource location of the certificate store. This element should be a properly accessible on the classpath. Only one attribute of "url", "file", or "resource" is allowed.

Returns:
possible object is String

setResource

public void setResource(String value)
Sets the value of the resource property.

Parameters:
value - allowed object is String
See Also:
getResource()

isSetResource

public boolean isSetResource()

getUrl

public String getUrl()
Gets the value of the url property.

This attribute specifies the URL location of the certificate store. This element should be a properly accessible URL, such as "http://..." "file:///...", etc. Only one attribute of "url", "file", or "resource" is allowed.

Returns:
possible object is String

setUrl

public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String
See Also:
getUrl()

isSetUrl

public boolean isSetUrl()

Apache CXF API

Apache CXF