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
parent
3dbd762728
commit
1ca704aec6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue