fullPem property

String get fullPem

Key + certificate + chain in a single PEM, in the same shape that openssl pkcs12 -nodes -out file.pem produces.

Implementation

String get fullPem => [
      privateKeyPem,
      certificatePem,
      ...chainPem,
    ].join('\n');