org.apache.cxf.configuration.security.CertStoreType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.01.24 at 01:40:57 PM EST
//
package org.apache.cxf.configuration.security;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
*
* 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="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CertStoreType", namespace = "http://cxf.apache.org/configuration/security")
public class CertStoreType {
/**
* This attribute specifies the type of the certstore.
* It is highly correlated to the provider. Most common examples
* are "jks" "pkcs12".
*
*/
@XmlAttribute(name = "type")
protected String type;
/**
* 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.
*
*/
@XmlAttribute(name = "file")
protected String file;
/**
* 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.
*
*/
@XmlAttribute(name = "resource")
protected String resource;
/**
* 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.
*
*/
@XmlAttribute(name = "url")
protected String url;
/**
* Gets the value of the type property.
*
* This attribute specifies the type of the certstore.
* It is highly correlated to the provider. Most common examples
* are "jks" "pkcs12".
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getType()
*/
public void setType(String value) {
this.type = value;
}
public boolean isSetType() {
return (this.type!= null);
}
/**
* 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.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFile() {
return file;
}
/**
* Sets the value of the file property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getFile()
*/
public void setFile(String value) {
this.file = value;
}
public boolean isSetFile() {
return (this.file!= null);
}
/**
* 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.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResource() {
return resource;
}
/**
* Sets the value of the resource property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getResource()
*/
public void setResource(String value) {
this.resource = value;
}
public boolean isSetResource() {
return (this.resource!= null);
}
/**
* 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.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
* @see #getUrl()
*/
public void setUrl(String value) {
this.url = value;
}
public boolean isSetUrl() {
return (this.url!= null);
}
}