added listaacerts, listacerts, listgroups, rereadaacerts, and rereadacerts keywords
This commit is contained in:
@@ -218,6 +218,9 @@ static int list_flags[] = {
|
|||||||
LIST_CERTS,
|
LIST_CERTS,
|
||||||
LIST_CACERTS,
|
LIST_CACERTS,
|
||||||
LIST_OCSPCERTS,
|
LIST_OCSPCERTS,
|
||||||
|
LIST_AACERTS,
|
||||||
|
LIST_ACERTS,
|
||||||
|
LIST_GROUPS,
|
||||||
LIST_CAINFOS,
|
LIST_CAINFOS,
|
||||||
LIST_CRLS,
|
LIST_CRLS,
|
||||||
LIST_OCSP,
|
LIST_OCSP,
|
||||||
@@ -238,6 +241,8 @@ static int list(stroke_keyword_t kw, int utc)
|
|||||||
static int reread_flags[] = {
|
static int reread_flags[] = {
|
||||||
REREAD_CACERTS,
|
REREAD_CACERTS,
|
||||||
REREAD_OCSPCERTS,
|
REREAD_OCSPCERTS,
|
||||||
|
REREAD_AACERTS,
|
||||||
|
REREAD_ACERTS,
|
||||||
REREAD_CRLS,
|
REREAD_CRLS,
|
||||||
REREAD_ALL
|
REREAD_ALL
|
||||||
};
|
};
|
||||||
|
|||||||
+16
-6
@@ -47,14 +47,20 @@ enum list_flag_t {
|
|||||||
LIST_CACERTS = 0x0002,
|
LIST_CACERTS = 0x0002,
|
||||||
/** list all ocsp signer certs */
|
/** list all ocsp signer certs */
|
||||||
LIST_OCSPCERTS = 0x0004,
|
LIST_OCSPCERTS = 0x0004,
|
||||||
|
/** list all aa certs */
|
||||||
|
LIST_AACERTS = 0x0008,
|
||||||
|
/** list all attribute certs */
|
||||||
|
LIST_ACERTS = 0x0010,
|
||||||
|
/** list all access control groups */
|
||||||
|
LIST_GROUPS = 0x0020,
|
||||||
/** list all ca information records */
|
/** list all ca information records */
|
||||||
LIST_CAINFOS = 0x0008,
|
LIST_CAINFOS = 0x0040,
|
||||||
/** list all crls */
|
/** list all crls */
|
||||||
LIST_CRLS = 0x0010,
|
LIST_CRLS = 0x0080,
|
||||||
/** list all ocsp cache entries */
|
/** list all ocsp cache entries */
|
||||||
LIST_OCSP = 0x0020,
|
LIST_OCSP = 0x0100,
|
||||||
/** all list options */
|
/** all list options */
|
||||||
LIST_ALL = 0x003F,
|
LIST_ALL = 0x01FF,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum reread_flag_t reread_flag_t;
|
typedef enum reread_flag_t reread_flag_t;
|
||||||
@@ -70,10 +76,14 @@ enum reread_flag_t {
|
|||||||
REREAD_CACERTS = 0x0001,
|
REREAD_CACERTS = 0x0001,
|
||||||
/** reread all ocsp signer certs */
|
/** reread all ocsp signer certs */
|
||||||
REREAD_OCSPCERTS = 0x0002,
|
REREAD_OCSPCERTS = 0x0002,
|
||||||
|
/** reread all aa certs */
|
||||||
|
REREAD_AACERTS = 0x0004,
|
||||||
|
/** reread all attribute certs */
|
||||||
|
REREAD_ACERTS = 0x0008,
|
||||||
/** reread all crls */
|
/** reread all crls */
|
||||||
REREAD_CRLS = 0x0004,
|
REREAD_CRLS = 0x0010,
|
||||||
/** all reread options */
|
/** all reread options */
|
||||||
REREAD_ALL = 0x0007,
|
REREAD_ALL = 0x001F,
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum purge_flag_t purge_flag_t;
|
typedef enum purge_flag_t purge_flag_t;
|
||||||
|
|||||||
@@ -32,12 +32,17 @@ typedef enum {
|
|||||||
STROKE_LIST_CERTS,
|
STROKE_LIST_CERTS,
|
||||||
STROKE_LIST_CACERTS,
|
STROKE_LIST_CACERTS,
|
||||||
STROKE_LIST_OCSPCERTS,
|
STROKE_LIST_OCSPCERTS,
|
||||||
|
STROKE_LIST_AACERTS,
|
||||||
|
STROKE_LIST_ACERTS,
|
||||||
|
STROKE_LIST_GROUPS,
|
||||||
STROKE_LIST_CAINFOS,
|
STROKE_LIST_CAINFOS,
|
||||||
STROKE_LIST_CRLS,
|
STROKE_LIST_CRLS,
|
||||||
STROKE_LIST_OCSP,
|
STROKE_LIST_OCSP,
|
||||||
STROKE_LIST_ALL,
|
STROKE_LIST_ALL,
|
||||||
STROKE_REREAD_CACERTS,
|
STROKE_REREAD_CACERTS,
|
||||||
STROKE_REREAD_OCSPCERTS,
|
STROKE_REREAD_OCSPCERTS,
|
||||||
|
STROKE_REREAD_AACERTS,
|
||||||
|
STROKE_REREAD_ACERTS,
|
||||||
STROKE_REREAD_CRLS,
|
STROKE_REREAD_CRLS,
|
||||||
STROKE_REREAD_ALL,
|
STROKE_REREAD_ALL,
|
||||||
STROKE_PURGE_OCSP
|
STROKE_PURGE_OCSP
|
||||||
|
|||||||
@@ -39,12 +39,17 @@ statusall, STROKE_STATUSALL
|
|||||||
listcerts, STROKE_LIST_CERTS
|
listcerts, STROKE_LIST_CERTS
|
||||||
listcacerts, STROKE_LIST_CACERTS
|
listcacerts, STROKE_LIST_CACERTS
|
||||||
listocspcerts, STROKE_LIST_OCSPCERTS
|
listocspcerts, STROKE_LIST_OCSPCERTS
|
||||||
|
listaacerts, STROKE_LIST_AACERTS
|
||||||
|
listacerts, STROKE_LIST_ACERTS
|
||||||
|
listgroups, STROKE_LIST_GROUPS
|
||||||
listcainfos, STROKE_LIST_CAINFOS
|
listcainfos, STROKE_LIST_CAINFOS
|
||||||
listcrls, STROKE_LIST_CRLS
|
listcrls, STROKE_LIST_CRLS
|
||||||
listocsp, STROKE_LIST_OCSP
|
listocsp, STROKE_LIST_OCSP
|
||||||
listall, STROKE_LIST_ALL
|
listall, STROKE_LIST_ALL
|
||||||
rereadcacerts, STROKE_REREAD_CACERTS
|
rereadcacerts, STROKE_REREAD_CACERTS
|
||||||
rereadocspcerts, STROKE_REREAD_OCSPCERTS
|
rereadocspcerts, STROKE_REREAD_OCSPCERTS
|
||||||
|
rereadaacerts, STROKE_REREAD_AACERTS,
|
||||||
|
rereadacerts, STROKE_REREAD_ACERTS,
|
||||||
rereadcrls, STROKE_REREAD_CRLS
|
rereadcrls, STROKE_REREAD_CRLS
|
||||||
rereadall, STROKE_REREAD_ALL
|
rereadall, STROKE_REREAD_ALL
|
||||||
purgeocsp, STROKE_PURGE_OCSP
|
purgeocsp, STROKE_PURGE_OCSP
|
||||||
|
|||||||
Reference in New Issue
Block a user