pki: Do not use deprecated string functions.
doc: Fix channel documentation.