MCPcopy Create free account
hub / github.com/apple/foundationdb / toPem

Method toPem

flow/MkCert.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 PemType toPem(Arena& arena) {
93 auto ret = PemType{};
94 if (null())
95 return ret;
96 ASSERT(valid());
97 ret.certPem = writeX509CertPem(arena, cert);
98 ret.privateKeyPem = privateKey.writePem(arena);
99 return ret;
100 }
101};
102
103CertAndKeyNative makeCertNative(CertSpecRef spec, CertAndKeyNative issuer);

Callers 2

makeMethod · 0.80
makeCertChainFunction · 0.80

Calls 3

nullClass · 0.85
writeX509CertPemFunction · 0.85
writePemMethod · 0.80

Tested by

no test coverage detected