encodePublicKeyBlob

Encode a PublicKey to its raw SSH wire-format public key blob.

The key type is inferred from the JCA key (e.g., Ed25519 → "ssh-ed25519", RSA → "ssh-rsa").

Return

SSH wire-format public key blob

Parameters

publicKey

JCA public key