Add Identity name/value pair (GH #542)

China’s SM2 uses an identity field for digital signatures. We used a ConstByteArrayParameter rather than a char* because the identifier may not be a C-string. The observation is based on experience with Thomas Wu’s Secure Remote Protocol (SRP)
pull/548/head
Jeffrey Walton 2017-11-25 05:27:28 -05:00
parent 3dbd762728
commit 1ca704aec6
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ CRYPTOPP_DEFINE_NAME_STRING(TreeMode) //!< byte
CRYPTOPP_DEFINE_NAME_STRING(FileName) //!< const char *
CRYPTOPP_DEFINE_NAME_STRING(FileTime) //!< int
CRYPTOPP_DEFINE_NAME_STRING(Comment) //!< const char *
CRYPTOPP_DEFINE_NAME_STRING(Identity) //!< ConstByteArrayParameter
DOCUMENTED_NAMESPACE_END
NAMESPACE_END