public class ConfigurationRepo extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CRL_CONNECTION_TIMEOUT
System key to set timeout for CRL url connection
|
static String |
CRL_INDEX
System key to set storage location of index file of revoked certificate lists.
|
static String |
CRL_PATH
System key to set storage location of path file of revoked certificate lists.
|
static String |
ENV_CRL_CONNECTION_TIMEOUT
System environment key set timeout for CRL url connection
|
static String |
ENV_CRL_INDEX
System environment key to set storage location of index file of revoked certificate lists.
|
static String |
ENV_CRL_PATH
System environment key to set storage location of path file of revoked certificate lists.
|
static String |
ENV_LPA_ONLINE
System environment key to set online only mode to get LPA
|
static String |
ENV_LPA_PATH
System environment key to set storage location of path file of LPA
|
static String |
ENV_MODE_ONLINE
System environment key to set online or offline mode
|
static String |
ENV_PROXY_HOST
System environment key to set host of settings proxy
|
static String |
ENV_PROXY_PASSWORD
System environment key to set host of settings proxy
|
static String |
ENV_PROXY_PORT
System environment key to set host of settings proxy
|
static String |
ENV_PROXY_TYPE
System environment key to set host of settings proxy
|
static String |
ENV_PROXY_USER
System environment key to set host of settings proxy
|
static ConfigurationRepo |
instance |
static String |
LPA_ONLINE
System key to set online only mode to get LPA
|
static String |
LPA_PATH
System key to set storage location of path file of LPA
|
static String |
MODE_ONLINE
System key to set online or offline mode
|
static String |
PROXY_HOST
System key to set host of settings proxy
|
static String |
PROXY_PASSWORD
System key to set host of settings proxy
|
static String |
PROXY_PORT
System key to set host of settings proxy
|
static String |
PROXY_TYPE
System key to set host of settings proxy
|
static String |
PROXY_USER
System key to set host of settings proxy
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCrlIndex()
Gets the location where the revoked certificate lists index file is stored
|
String |
getCrlPath()
Retrieves the location where the CRL(certificate revoked lists) repository is stored
Default is "java.io.tmpdir" + "crls"
|
int |
getCrlTimeOut() |
static ConfigurationRepo |
getInstance()
to static single instance
|
String |
getLpaPath()
Retrieves the location where the LPA local repository is stored
Default is "java.io.tmpdir" + "lpas"
|
Proxy |
getProxy() |
Proxy.Type |
getType() |
boolean |
isOnline()
Returns whether the repository is in online (TRUE) or offline (FALSE) mode
Default is TRUE
|
boolean |
isOnlineLPA() |
boolean |
isValidateLCR() |
void |
setCrlIndex(String crlIndex) |
void |
setCrlPath(String crlPath)
Configures the location where the CRL (certificate revoked lists) repository will be stored
|
void |
setCrlTimeOut(int crlTimeOut) |
void |
setLpaPath(String lpaPath)
Configures the location where the LPA local repository will be stored
|
void |
setOnline(boolean isOnline)
Determines whether the repository query should be done online or offline.
|
void |
setOnlineLPA(boolean isOnlineLPA) |
void |
setProxy(Proxy proxy) |
void |
setProxy(String hostName,
String port,
String userName,
String password)
Configure Proxy.
|
void |
setType(String type) |
void |
setValidateLCR(boolean validateLCR) |
public static final String MODE_ONLINE
public static final String ENV_MODE_ONLINE
public static final String CRL_INDEX
public static final String ENV_CRL_INDEX
public static final String CRL_PATH
public static final String ENV_CRL_PATH
public static final String LPA_PATH
public static final String ENV_LPA_PATH
public static final String LPA_ONLINE
public static final String ENV_LPA_ONLINE
public static final String PROXY_HOST
public static final String ENV_PROXY_HOST
public static final String PROXY_PORT
public static final String ENV_PROXY_PORT
public static final String PROXY_USER
public static final String ENV_PROXY_USER
public static final String PROXY_PASSWORD
public static final String ENV_PROXY_PASSWORD
public static final String PROXY_TYPE
public static final String ENV_PROXY_TYPE
public static final String CRL_CONNECTION_TIMEOUT
public static final String ENV_CRL_CONNECTION_TIMEOUT
public static ConfigurationRepo instance
public static ConfigurationRepo getInstance()
public String getCrlIndex()
public void setCrlIndex(String crlIndex)
public boolean isOnline()
public void setOnline(boolean isOnline)
isOnline - True for online, False for offline.public String getCrlPath()
Default is "java.io.tmpdir" + "crls"
public void setCrlPath(String crlPath)
crlPath - path for CRL repositorypublic String getLpaPath()
Default is "java.io.tmpdir" + "lpas"
public void setLpaPath(String lpaPath)
lpaPath - path for LPA local repositorypublic Proxy getProxy()
public void setProxy(Proxy proxy)
public Proxy.Type getType()
public void setType(String type)
public void setProxy(String hostName, String port, String userName, String password)
hostName - the host name.port - the port.userName - the username.password - the password.public boolean isOnlineLPA()
public void setOnlineLPA(boolean isOnlineLPA)
public boolean isValidateLCR()
public void setValidateLCR(boolean validateLCR)
public int getCrlTimeOut()
public void setCrlTimeOut(int crlTimeOut)
Copyright © 2025 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.