class PemUtil

Defined at line 13 of file ../../third_party/cobalt/src/lib/util/pem_util.h

PemUtil provides utilities for reading and writing PEM files.

Public Members

static const int kMaxFileSize

Public Methods

bool ReadTextFile (const std::string & file_path, std::string * file_contents)

Reads the text file at the specified path and writes the contents into

|*file_contents|. The file must contain at most |kMaxFileSize| bytes.

Returns true for success or false for failure.