backwards compatibility with SQL format
[strongswan.git] / src / libstrongswan / credentials / certificates / certificate.h
index 81a231d..0399d92 100644 (file)
@@ -47,6 +47,8 @@ enum certificate_type_t {
        CERT_X509_AC,
        /** trusted, preinstalled public key */
        CERT_TRUSTED_PUBKEY,
+       /** PKCS#10 certificate request */
+       CERT_PKCS10_REQUEST,
        /** PGP certificate */
        CERT_GPG,
        /** Pluto cert_t (not a certificate_t), either x509 or PGP */
@@ -96,7 +98,7 @@ struct certificate_t {
        /**
         * Get the type of the certificate.
         *
-        * @return                      certifcate type
+        * @return                      certificate type
         */
        certificate_type_t (*get_type)(certificate_t *this);