toPem function

String toPem (
  1. SubjectPublicKeyInfo key
)

Implementation

String toPem(SubjectPublicKeyInfo key) {
  return _getPEMFromBytes(key.toAsn1().encodedBytes, 'PUBLIC KEY');
}