x509 certificates support encoding of email, DNS and IP subjectAltNames
This commit is contained in:
@@ -30,9 +30,9 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
|
||||
"BUILD_SIGNING_CERT",
|
||||
"BUILD_PUBLIC_KEY",
|
||||
"BUILD_SUBJECT",
|
||||
"BUILD_SUBJECT_ALTNAME",
|
||||
"BUILD_SUBJECT_ALTNAMES",
|
||||
"BUILD_ISSUER",
|
||||
"BUILD_ISSUER_ALTNAME",
|
||||
"BUILD_ISSUER_ALTNAMES",
|
||||
"BUILD_NOT_BEFORE_TIME",
|
||||
"BUILD_NOT_AFTER_TIME",
|
||||
"BUILD_SERIAL",
|
||||
|
||||
@@ -68,12 +68,12 @@ enum builder_part_t {
|
||||
BUILD_PUBLIC_KEY,
|
||||
/** subject for e.g. certificates, identification_t* */
|
||||
BUILD_SUBJECT,
|
||||
/** additional subject name, identification_t* */
|
||||
BUILD_SUBJECT_ALTNAME,
|
||||
/** additional subject names, linked_list_t* containing identification_t* */
|
||||
BUILD_SUBJECT_ALTNAMES,
|
||||
/** issuer for e.g. certificates, identification_t* */
|
||||
BUILD_ISSUER,
|
||||
/** additional issuer name, identification_t* */
|
||||
BUILD_ISSUER_ALTNAME,
|
||||
/** additional issuer names, linked_list_t* containing identification_t* */
|
||||
BUILD_ISSUER_ALTNAMES,
|
||||
/** notBefore, time_t* */
|
||||
BUILD_NOT_BEFORE_TIME,
|
||||
/** notAfter, time_t* */
|
||||
|
||||
@@ -210,9 +210,9 @@ static void* create(private_credential_factory_t *this, credential_type_t type,
|
||||
case BUILD_SIGNING_KEY:
|
||||
case BUILD_PUBLIC_KEY:
|
||||
case BUILD_SUBJECT:
|
||||
case BUILD_SUBJECT_ALTNAME:
|
||||
case BUILD_SUBJECT_ALTNAMES:
|
||||
case BUILD_ISSUER:
|
||||
case BUILD_ISSUER_ALTNAME:
|
||||
case BUILD_ISSUER_ALTNAMES:
|
||||
case BUILD_SIGNING_CERT:
|
||||
case BUILD_CA_CERT:
|
||||
case BUILD_CERT:
|
||||
|
||||
Reference in New Issue
Block a user