1#include "cpr/cert_info.h"
2
3namespace cpr {
4
5std::string& CertInfo::operator[](const size_t& pos) {
6 return cert_info_[pos];
7}
8
9CertInfo::iterator CertInfo::begin() {
10 return cert_info_.begin();
11}
12CertInfo::iterator CertInfo::end() {
13 return cert_info_.end();
14}
15
16CertInfo::const_iterator CertInfo::begin() const {
17 return cert_info_.begin();
18}
19
20CertInfo::const_iterator CertInfo::end() const {
21 return cert_info_.end();
22}
23
24CertInfo::const_iterator CertInfo::cbegin() const {
25 return cert_info_.cbegin();
26}
27
28CertInfo::const_iterator CertInfo::cend() const {
29 return cert_info_.cend();
30}
31
32void CertInfo::emplace_back(const std::string& str) {
33 cert_info_.emplace_back(args: str);
34}
35
36void CertInfo::push_back(const std::string& str) {
37 cert_info_.push_back(x: str);
38}
39
40void CertInfo::pop_back() {
41 cert_info_.pop_back();
42}
43} // namespace cpr
44