]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
certificate: Define a CGA parameters certificate pseudo-type
authorMartin Willi <martin@revosec.ch>
Wed, 28 Jan 2015 12:32:22 +0000 (13:32 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 24 Feb 2015 16:13:56 +0000 (17:13 +0100)
src/libstrongswan/credentials/certificates/certificate.c
src/libstrongswan/credentials/certificates/certificate.h

index b281c1669b48a840eb2af2d8daff6640be3a5b78..e61fbad82c41384cac774fcaf957471d938efb85 100644 (file)
@@ -18,7 +18,7 @@
 #include <utils/debug.h>
 #include <credentials/certificates/x509.h>
 
-ENUM(certificate_type_names, CERT_ANY, CERT_GPG,
+ENUM(certificate_type_names, CERT_ANY, CERT_CGA_PARAMS,
        "ANY",
        "X509",
        "X509_CRL",
@@ -28,6 +28,7 @@ ENUM(certificate_type_names, CERT_ANY, CERT_GPG,
        "TRUSTED_PUBKEY",
        "PKCS10_REQUEST",
        "PGP",
+       "CGA",
 );
 
 ENUM(cert_validation_names, VALIDATION_GOOD, VALIDATION_REVOKED,
index d59126bd51ab24f03cc15d287a8ac4bfee9103e7..e62dfcd3e64f815e64827cc36a613acfacfd9022 100644 (file)
@@ -52,6 +52,8 @@ enum certificate_type_t {
        CERT_PKCS10_REQUEST,
        /** PGP certificate */
        CERT_GPG,
+       /** IPv6 CGA parameters, RFC3972 */
+       CERT_CGA_PARAMS,
 };
 
 /**