From c77029f142e053ee6b1735144abe82baf4bd96d9 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 26 Oct 2016 00:38:51 -0400 Subject: Updated documentation for Crypto++ 1.0 algorithms --- rsa.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'rsa.h') diff --git a/rsa.h b/rsa.h index df401043..a7529e90 100644 --- a/rsa.h +++ b/rsa.h @@ -20,6 +20,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \class RSAFunction //! \brief RSA trapdoor function using the public key +//! \since Crypto++ 1.0 class CRYPTOPP_DLL RSAFunction : public TrapdoorFunction, public X509PublicKey { typedef RSAFunction ThisClass; @@ -59,6 +60,7 @@ protected: //! \class InvertibleRSAFunction //! \brief RSA trapdoor function using the private key +//! \since Crypto++ 1.0 class CRYPTOPP_DLL InvertibleRSAFunction : public RSAFunction, public TrapdoorFunctionInverse, public PKCS8PrivateKey { typedef InvertibleRSAFunction ThisClass; @@ -132,6 +134,7 @@ protected: //! \class RSAFunction_ISO //! \brief RSA trapdoor function using the public key +//! \since Crypto++ 1.0 class CRYPTOPP_DLL RSAFunction_ISO : public RSAFunction { public: @@ -141,6 +144,7 @@ public: //! \class InvertibleRSAFunction_ISO //! \brief RSA trapdoor function using the private key +//! \since Crypto++ 1.0 class CRYPTOPP_DLL InvertibleRSAFunction_ISO : public InvertibleRSAFunction { public: @@ -150,6 +154,7 @@ public: //! \class RSA //! \brief RSA algorithm +//! \since Crypto++ 1.0 struct CRYPTOPP_DLL RSA { CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "RSA";} @@ -161,6 +166,7 @@ struct CRYPTOPP_DLL RSA //! \brief RSA encryption algorithm //! \tparam STANDARD signature standard //! \sa RSA cryptosystem +//! \since Crypto++ 1.0 template struct RSAES : public TF_ES { @@ -172,6 +178,7 @@ struct RSAES : public TF_ES //! \tparam H hash transformation //! \details See documentation of PKCS1v15 for a list of hash functions that can be used with it. //! \sa RSA signature scheme with appendix +//! \since Crypto++ 1.0 template struct RSASS : public TF_SS { @@ -179,6 +186,7 @@ struct RSASS : public TF_SS //! \class RSA_ISO //! \brief RSA algorithm +//! \since Crypto++ 1.0 struct CRYPTOPP_DLL RSA_ISO { CRYPTOPP_CONSTEXPR static const char * CRYPTOPP_API StaticAlgorithmName() {return "RSA-ISO";} @@ -189,6 +197,7 @@ struct CRYPTOPP_DLL RSA_ISO //! \class RSASS_ISO //! \brief RSA signature algorithm //! \tparam H hash transformation +//! \since Crypto++ 1.0 template struct RSASS_ISO : public TF_SS { @@ -211,25 +220,31 @@ DOCUMENTED_TYPEDEF(RSAES >::Encryptor, RSAES_OAEP_SHA_Encryptor); #ifdef CRYPTOPP_DOXYGEN_PROCESSING //! \brief \ref RSASS "RSASS::Signer" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_SHA_Signer : public RSASS::Signer {}; //! \brief \ref RSASS "RSASS::Verifier" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_SHA_Verifier : public RSASS::Verifier {}; namespace Weak { //! \brief \ref RSASS "RSASS::Signer" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_MD2_Signer : public RSASS::Signer {}; //! \brief \ref RSASS "RSASS::Verifier" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_MD2_Verifier : public RSASS::Verifier {}; //! \brief \ref RSASS "RSASS::Signer" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_MD5_Signer : public RSASS::Signer {}; //! \brief \ref RSASS "RSASS::Verifier" typedef //! \details RSA signature schemes defined in PKCS #1 v2.0 +//! \since Crypto++ 1.0 class RSASSA_PKCS1v15_MD5_Verifier : public RSASS::Verifier {}; } -- cgit v1.2.1