builder: Add builder option to pass signature scheme and params
This commit is contained in:
@@ -37,6 +37,7 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
|
|||||||
"BUILD_NOT_BEFORE_TIME",
|
"BUILD_NOT_BEFORE_TIME",
|
||||||
"BUILD_NOT_AFTER_TIME",
|
"BUILD_NOT_AFTER_TIME",
|
||||||
"BUILD_SERIAL",
|
"BUILD_SERIAL",
|
||||||
|
"BUILD_SIGNATURE_SCHEME",
|
||||||
"BUILD_DIGEST_ALG",
|
"BUILD_DIGEST_ALG",
|
||||||
"BUILD_ENCRYPTION_ALG",
|
"BUILD_ENCRYPTION_ALG",
|
||||||
"BUILD_AC_GROUP_STRINGS",
|
"BUILD_AC_GROUP_STRINGS",
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ enum builder_part_t {
|
|||||||
BUILD_BLOB_PEM,
|
BUILD_BLOB_PEM,
|
||||||
/** OpenPGP key blob, chunk_t */
|
/** OpenPGP key blob, chunk_t */
|
||||||
BUILD_BLOB_PGP,
|
BUILD_BLOB_PGP,
|
||||||
/** DNS public key blob (RFC 4034, RSA specifc RFC 3110), chunk_t */
|
/** DNS public key blob (RFC 4034, RSA specific RFC 3110), chunk_t */
|
||||||
BUILD_BLOB_DNSKEY,
|
BUILD_BLOB_DNSKEY,
|
||||||
/** SSH public key blob (RFC 4253), chunk_t */
|
/** SSH public key blob (RFC 4253), chunk_t */
|
||||||
BUILD_BLOB_SSHKEY,
|
BUILD_BLOB_SSHKEY,
|
||||||
@@ -84,6 +84,8 @@ enum builder_part_t {
|
|||||||
BUILD_NOT_AFTER_TIME,
|
BUILD_NOT_AFTER_TIME,
|
||||||
/** a serial number in binary form, chunk_t */
|
/** a serial number in binary form, chunk_t */
|
||||||
BUILD_SERIAL,
|
BUILD_SERIAL,
|
||||||
|
/** signature scheme and parameters for signature, signature_params_t* */
|
||||||
|
BUILD_SIGNATURE_SCHEME,
|
||||||
/** digest algorithm to be used for signature, hash_algorithm_t */
|
/** digest algorithm to be used for signature, hash_algorithm_t */
|
||||||
BUILD_DIGEST_ALG,
|
BUILD_DIGEST_ALG,
|
||||||
/** encryption algorithm to use, encryption_algorithm_t */
|
/** encryption algorithm to use, encryption_algorithm_t */
|
||||||
|
|||||||
Reference in New Issue
Block a user