summaryrefslogtreecommitdiff
path: root/cryptlib.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-09-26 23:36:56 -0400
committerJeffrey Walton <noloader@gmail.com>2019-09-26 23:36:56 -0400
commitf99c470cff5901520be1c7b61eaa93fd77c9ee6d (patch)
tree8b59bc9f91e5657933a6e4e7b05146a7aa9ab0e4 /cryptlib.h
parent9dd40fd2dfdacdf09c1b63abbbbb4618c53934bb (diff)
downloadcryptopp-git-f99c470cff5901520be1c7b61eaa93fd77c9ee6d.tar.gz
Update documentation
Diffstat (limited to 'cryptlib.h')
-rw-r--r--cryptlib.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/cryptlib.h b/cryptlib.h
index 445cd9b2..e86404d1 100644
--- a/cryptlib.h
+++ b/cryptlib.h
@@ -2350,7 +2350,12 @@ private:
/// \return a reference to a BufferedTransformation object that discards all input
CRYPTOPP_DLL BufferedTransformation & TheBitBucket();
-/// \brief Interface for crypto material, such as public and private keys, and crypto parameters
+/// \brief Interface for crypto material
+/// \details CryptoMaterial() is an interface for crypto material, such as
+/// public keys, private keys and crypto parameters. Derived classes generally
+/// do not offer public methods such as GenerateRandom() and
+/// GenerateRandomWithKeySize().
+/// \sa GeneratableCryptoMaterial()
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CryptoMaterial : public NameValuePairs
{
public:
@@ -2466,7 +2471,11 @@ public:
#endif
};
-/// \brief Interface for generatable crypto material, such as private keys and crypto parameters
+/// \brief Interface for crypto material
+/// \details GeneratableCryptoMaterial() is an interface for crypto material,
+/// such as private keys and crypto parameters. Derived classes offer public
+/// methods such as GenerateRandom() and GenerateRandomWithKeySize().
+/// \sa CryptoMaterial()
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE GeneratableCryptoMaterial : virtual public CryptoMaterial
{
public: