MCPcopy Create free account
hub / github.com/apache/trafficserver / _load_name

Method _load_name

src/cripts/Certs.cc:80–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void
81CertBase::X509Value::_load_name(X509_NAME *(*getter)(const X509 *)) const
82{
83 if (!_ready && _owner->_x509) {
84 auto *name = getter(_owner->_x509);
85
86 if (name) {
87 X509Value::_load();
88 X509_NAME_print_ex(_bio.get(), name, 0, XN_FLAG_ONELINE);
89 _update_value();
90 } else [[unlikely]] {
91 _value = cripts::Certs::String();
92 _ready = true;
93 }
94 }
95}
96
97void
98CertBase::X509Value::_load_integer(ASN1_INTEGER *(*getter)(X509 *)) const

Callers

nothing calls this directly

Calls 2

StringClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected