#include "parse_name.h"
#include <cassert>
#include <openssl/bytestring.h>
#include <openssl/mem.h>
#include "parse_values.h"
#include "string_util.h"
BSSL_NAMESPACE_BEGIN
namespace {
std::string OidToString(der::Input oid) { … }
}
bool X509NameAttribute::ValueAsString(std::string *out) const { … }
bool X509NameAttribute::ValueAsStringWithUnsafeOptions(
PrintableStringHandling printable_string_handling, std::string *out) const { … }
bool X509NameAttribute::ValueAsStringUnsafe(std::string *out) const { … }
bool X509NameAttribute::AsRFC2253String(std::string *out) const { … }
bool ReadRdn(der::Parser *parser, RelativeDistinguishedName *out) { … }
bool ParseName(der::Input name_tlv, RDNSequence *out) { … }
bool ParseNameValue(der::Input name_value, RDNSequence *out) { … }
bool ConvertToRFC2253(const RDNSequence &rdn_sequence, std::string *out) { … }
BSSL_NAMESPACE_END