backwards compatibility with SQL format
[strongswan.git] / src / libstrongswan / credentials / certificates / certificate.h
index f585805..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);
 
@@ -192,9 +194,9 @@ struct certificate_t {
        certificate_t* (*get_ref)(certificate_t *this);
 
        /**
-     * Destroy a certificate.
-     */
-    void (*destroy)(certificate_t *this);
+        * Destroy a certificate.
+        */
+       void (*destroy)(certificate_t *this);
 };
 
 #endif /** CERTIFICATE_H_ @}*/