Returns the DER representation of this certificate, if available.

Synopsis

Declared in <folly/io/async/AsyncTransportCertificate.h>

virtual
std::optional<std::string>
getDER() const = 0;

Description

NOTE: Not every AsyncTransportCertificate implementation will have a DER representation. Whenever possible, applications should prefer to structure logic around the identity that the certificate conveys (with getIdentity()), rather than certificate itself.

Return Value

The DER representation, or std::nullopt if unavailable.

Created with MrDocs