| Modifier and Type | Class and Description |
|---|---|
protected static class |
QueryExecutor.ColumnType |
protected static class |
QueryExecutor.DbSchemaInfo |
protected static class |
QueryExecutor.SqlColumn |
protected static class |
QueryExecutor.SqlColumn2 |
| Modifier and Type | Field and Description |
|---|---|
protected org.xipki.datasource.DataSourceWrapper |
datasource |
protected int |
dbSchemaVersion |
protected String |
keypairEncAlg |
protected int |
keypairEncAlgId |
protected SecretKey |
keypairEncKey |
protected String |
keypairEncKeyId |
protected String |
keypairEncProvider |
protected int |
maxX500nameLen |
protected String |
SQL_ADD_CERT |
protected String |
SQL_ADD_CRL |
protected static String |
SQL_INSERT_PUBLISHQUEUE |
protected static String |
SQL_MAX_CRLNO |
protected static String |
SQL_MAX_FULL_CRLNO |
protected static String |
SQL_MAX_THISUPDAATE_CRL |
protected static String |
SQL_REMOVE_CERT_FOR_ID |
protected static String |
SQL_REMOVE_PUBLISHQUEUE |
protected static String |
SQL_REVOKE_CERT |
protected static String |
SQL_REVOKE_SUSPENDED_CERT |
| Modifier | Constructor and Description |
|---|---|
protected |
CertStoreBase(org.xipki.datasource.DataSourceWrapper datasource,
org.xipki.password.PasswordResolver passwordResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
buildArraySql(org.xipki.datasource.DataSourceWrapper datasource,
String prefix,
int num) |
protected static org.xipki.security.CertRevocationInfo |
buildCertRevInfo(org.xipki.ca.server.db.ResultRow rs) |
protected PreparedStatement |
buildPrepStmt(String sql,
QueryExecutor.SqlColumn2... columns) |
protected PreparedStatement |
buildPrepStmt0(String sql,
QueryExecutor.SqlColumn2... columns) |
protected String |
buildSelectFirstSql(String coreSql) |
protected String |
buildSelectFirstSql(String orderBy,
String coreSql) |
protected static QueryExecutor.SqlColumn2 |
col2Bool(Boolean value) |
protected static QueryExecutor.SqlColumn2 |
col2Int(Integer value) |
protected static QueryExecutor.SqlColumn2 |
col2Long(Long value) |
protected static QueryExecutor.SqlColumn2 |
col2Str(String value) |
protected static QueryExecutor.SqlColumn2 |
col2Timestamp(Timestamp value) |
protected static QueryExecutor.SqlColumn |
colBool(String name,
Boolean value) |
protected static QueryExecutor.SqlColumn |
colInt(String name,
Integer value) |
protected static QueryExecutor.SqlColumn |
colLong(String name,
Long value) |
protected static QueryExecutor.SqlColumn |
colStr(String name,
String value) |
protected static QueryExecutor.SqlColumn |
colStr(String name,
String value,
boolean sensitive,
boolean signerConf) |
protected org.xipki.ca.server.db.ResultRow |
execQuery1PrepStmt(String sql,
QueryExecutor.SqlColumn2... params) |
protected org.xipki.ca.server.db.ResultRow |
execQuery1PrepStmt0(String sql,
QueryExecutor.SqlColumn2... params) |
protected long |
execQueryLongPrepStmt(String sql,
QueryExecutor.SqlColumn2... params) |
protected List<org.xipki.ca.server.db.ResultRow> |
execQueryPrepStmt(String sql,
QueryExecutor.SqlColumn2... params) |
protected List<org.xipki.ca.server.db.ResultRow> |
execQueryPrepStmt0(String sql,
QueryExecutor.SqlColumn2... params) |
protected List<org.xipki.ca.server.db.ResultRow> |
execQueryStmt(String sql) |
protected int |
execUpdatePrepStmt(String sql,
QueryExecutor.SqlColumn2... params) |
protected int |
execUpdatePrepStmt0(String sql,
QueryExecutor.SqlColumn2... params) |
protected int |
execUpdateStmt(String sql) |
protected int |
execUpdateStmt0(String sql) |
protected long |
getMax(String table,
String column) |
protected void |
notNulls(Object param1,
String name1,
Object param2,
String name2) |
protected void |
notNulls(Object param1,
String name1,
Object param2,
String name2,
Object param3,
String name3) |
protected void |
notNulls(Object param1,
String name1,
Object param2,
String name2,
Object param3,
String name3,
Object param4,
String name4) |
protected static org.xipki.security.X509Cert |
parseCert(byte[] encodedCert) |
protected PreparedStatement |
prepareStatement(String sqlQuery) |
void |
updateDbInfo(org.xipki.password.PasswordResolver passwordResolver) |
protected final String SQL_ADD_CERT
protected static final String SQL_REVOKE_CERT
protected static final String SQL_REVOKE_SUSPENDED_CERT
protected static final String SQL_INSERT_PUBLISHQUEUE
protected static final String SQL_REMOVE_PUBLISHQUEUE
protected static final String SQL_MAX_CRLNO
protected static final String SQL_MAX_FULL_CRLNO
protected static final String SQL_MAX_THISUPDAATE_CRL
protected final String SQL_ADD_CRL
protected static final String SQL_REMOVE_CERT_FOR_ID
protected final int dbSchemaVersion
protected final int maxX500nameLen
protected final String keypairEncAlg
protected final int keypairEncAlgId
protected String keypairEncProvider
protected String keypairEncKeyId
protected SecretKey keypairEncKey
protected final org.xipki.datasource.DataSourceWrapper datasource
protected CertStoreBase(org.xipki.datasource.DataSourceWrapper datasource,
org.xipki.password.PasswordResolver passwordResolver)
throws org.xipki.datasource.DataAccessException,
org.xipki.ca.api.mgmt.CaMgmtException
org.xipki.datasource.DataAccessExceptionorg.xipki.ca.api.mgmt.CaMgmtExceptionpublic void updateDbInfo(org.xipki.password.PasswordResolver passwordResolver)
throws org.xipki.datasource.DataAccessException,
org.xipki.ca.api.mgmt.CaMgmtException
org.xipki.datasource.DataAccessExceptionorg.xipki.ca.api.mgmt.CaMgmtExceptionprotected static org.xipki.security.CertRevocationInfo buildCertRevInfo(org.xipki.ca.server.db.ResultRow rs)
protected long getMax(String table, String column) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected int execUpdateStmt0(String sql) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected int execUpdatePrepStmt0(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected org.xipki.ca.server.db.ResultRow execQuery1PrepStmt0(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected List<org.xipki.ca.server.db.ResultRow> execQueryPrepStmt0(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected PreparedStatement buildPrepStmt0(String sql, QueryExecutor.SqlColumn2... columns) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected long execQueryLongPrepStmt(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected PreparedStatement prepareStatement(String sqlQuery) throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected static String buildArraySql(org.xipki.datasource.DataSourceWrapper datasource, String prefix, int num)
protected static org.xipki.security.X509Cert parseCert(byte[] encodedCert)
throws org.xipki.util.exception.OperationException
org.xipki.util.exception.OperationExceptionprotected static QueryExecutor.SqlColumn colBool(String name, Boolean value)
protected static QueryExecutor.SqlColumn colInt(String name, Integer value)
protected static QueryExecutor.SqlColumn colLong(String name, Long value)
protected static QueryExecutor.SqlColumn colStr(String name, String value)
protected static QueryExecutor.SqlColumn colStr(String name, String value, boolean sensitive, boolean signerConf)
protected static QueryExecutor.SqlColumn2 col2Bool(Boolean value)
protected static QueryExecutor.SqlColumn2 col2Int(Integer value)
protected static QueryExecutor.SqlColumn2 col2Long(Long value)
protected static QueryExecutor.SqlColumn2 col2Str(String value)
protected static QueryExecutor.SqlColumn2 col2Timestamp(Timestamp value)
protected int execUpdateStmt(String sql) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected int execUpdatePrepStmt(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected List<org.xipki.ca.server.db.ResultRow> execQueryStmt(String sql) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected org.xipki.ca.server.db.ResultRow execQuery1PrepStmt(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected List<org.xipki.ca.server.db.ResultRow> execQueryPrepStmt(String sql, QueryExecutor.SqlColumn2... params) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected PreparedStatement buildPrepStmt(String sql, QueryExecutor.SqlColumn2... columns) throws org.xipki.datasource.DataAccessException
org.xipki.datasource.DataAccessExceptionprotected void notNulls(Object param1, String name1, Object param2, String name2, Object param3, String name3)
Copyright © 2022. All rights reserved.