encodePublicKeyToPKCS1PemString method

String encodePublicKeyToPKCS1PemString()

Encode the publicKey to PKCS1 pem format https://en.wikipedia.org/wiki/PKCS_1

Implementation

String encodePublicKeyToPKCS1PemString() {
  return publicKey!.toPem(toPkcs1: true);
}