encodePublicKeyToPKCS8PemString method

String encodePublicKeyToPKCS8PemString()

Encode the publicKey to PKCS8 pem format https://en.wikipedia.org/wiki/PKCS_8

Implementation

String encodePublicKeyToPKCS8PemString() {
  return publicKey!.toPem(toPkcs1: false);
}