chromium/third_party/boringssl/src/pki/parse_name.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Returns a string containing the dotted numeric form of |oid|, or an empty
// string on error.
std::string OidToString(der::Input oid) {}

}  // namespace

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