diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-04-08 17:34:15 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-04-08 17:34:15 -0400 |
commit | a20192a0cedbec8fa30341fcba25becfb87877b9 (patch) | |
tree | ddc895fb04dae16024d7a6d82634246f304dd045 /asn.h | |
parent | cf137c34525781da247615887e734f1ed2c2c266 (diff) | |
download | cryptopp-git-a20192a0cedbec8fa30341fcba25becfb87877b9.tar.gz |
Updated documentation
Diffstat (limited to 'asn.h')
-rw-r--r-- | asn.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -379,13 +379,15 @@ public: {BERDecode(bt);}
};
-//! encodes/decodes subjectPublicKeyInfo
+//! \brief Encodes and decodes subjectPublicKeyInfo
class CRYPTOPP_DLL X509PublicKey : public ASN1CryptoMaterial<PublicKey>
{
public:
void BERDecode(BufferedTransformation &bt);
void DEREncode(BufferedTransformation &bt) const;
+ //! \brief Retrieves the OID of the algorithm
+ //! \returns OID of the algorithm
virtual OID GetAlgorithmID() const =0;
virtual bool BERDecodeAlgorithmParameters(BufferedTransformation &bt)
{BERDecodeNull(bt); return false;}
@@ -398,13 +400,15 @@ public: virtual void DEREncodePublicKey(BufferedTransformation &bt) const =0;
};
-//! encodes/decodes privateKeyInfo
+//! \brief Encodes and decodesprivateKeyInfo
class CRYPTOPP_DLL PKCS8PrivateKey : public ASN1CryptoMaterial<PrivateKey>
{
public:
void BERDecode(BufferedTransformation &bt);
void DEREncode(BufferedTransformation &bt) const;
+ //! \brief Retrieves the OID of the algorithm
+ //! \returns OID of the algorithm
virtual OID GetAlgorithmID() const =0;
virtual bool BERDecodeAlgorithmParameters(BufferedTransformation &bt)
{BERDecodeNull(bt); return false;}
|