folly::ssl::OpenSSLCertUtils::getIssuerCommonName

Returns the issuer's common name, if present.

Synopsis

Declared in <folly/ssl/OpenSSLCertUtils.h>

static
Optional<std::string>
getIssuerCommonName(X509 const& x509);

Return Value

The issuer common name, or folly::none.

Parameters

NameDescription
x509The certificate to read.