stroke: add exportconn{cert,chain} commands in addition to exportx509

The new commands either export a single end entity certificate or the
full trust chain for a specific connection name.
This commit is contained in:
Martin Willi
2013-06-19 16:27:19 +02:00
parent a485320393
commit de2debf8e0
5 changed files with 80 additions and 7 deletions
+4
View File
@@ -123,6 +123,10 @@ typedef enum export_flag_t export_flag_t;
enum export_flag_t {
/** export an X509 certificate */
EXPORT_X509 = 0x0001,
/** export an X509 end entity certificate for a connection */
EXPORT_CONN_CERT = 0x0002,
/** export the complete trust chain of a connection */
EXPORT_CONN_CHAIN = 0x0004,
};
/**