diff --git a/lang/cpp/src/data.cpp b/lang/cpp/src/data.cpp index bf9a629f..af1c479a 100644 --- a/lang/cpp/src/data.cpp +++ b/lang/cpp/src/data.cpp @@ -178,6 +178,8 @@ GpgME::Data::Type GpgME::Data::type() const case GPGME_DATA_TYPE_CMS_OTHER: return CMSOther; case GPGME_DATA_TYPE_X509_CERT: return X509Cert; case GPGME_DATA_TYPE_PKCS12: return PKCS12; + case GPGME_DATA_TYPE_PGP_ENCRYPTED: return PGPEncrypted; + case GPGME_DATA_TYPE_PGP_SIGNATURE: return PGPSignature; } return Invalid; } diff --git a/lang/cpp/src/data.h b/lang/cpp/src/data.h index efb1e790..d5e54aaa 100644 --- a/lang/cpp/src/data.h +++ b/lang/cpp/src/data.h @@ -92,7 +92,9 @@ public: CMSEncrypted, CMSOther, X509Cert, - PKCS12 + PKCS12, + PGPEncrypted, + PGPSignature, }; Type type() const;