code: func PemBlockToString(block *pem.Block) string {
  	if block.Bytes == nil || block.Type == "" {
  		return ""
  	}
  	return string(bytes.TrimSpace(pem.EncodeToMemory(block)))
  }
docs: // PemBlockToString turns a pem.Block into the string encoded form.