PIV: encode SPKI public key data