Lines Matching defs:ownerID
38 const std::string SignerInfo::OWNERID_OID_SHORT_NAME = "ownerID";
41 bool SignerInfo::InitSignerInfo(const std::string &ownerID, X509 *cert, const EVP_MD *md,
86 if (!AddAttrsToSignerInfo(ownerID, contentData)) {
99 bool SignerInfo::AddAttrsToSignerInfo(const std::string &ownerID, const ByteBuffer &contentData)
101 if (!carrySigningTime_ && ownerID.empty()) {
110 if (!ownerID.empty()) {
111 AddOwnerID(ownerID);
228 int SignerInfo::AddOwnerID(const std::string &ownerID)
232 ASN1_STRING_set(ownerIDAsn1, ownerID.c_str(), ownerID.length());
243 int SignerInfo::ParseOwnerIdFromSignature(const ByteBuffer &sigbuffer, std::string &ownerID)
270 ownerID.assign(reinterpret_cast<const char *>(ASN1_STRING_get0_data(result)), ASN1_STRING_length(result));
276 if (ownerID.empty()) {