public static void serializeKeysetWithoutSecret(KeysetHandle keysetHandle, KeysetWriter writer)
      throws GeneralSecurityException, IOException {
    keysetHandle.writeNoSecret(writer);
  }
Serialize a keyset to the writer.

<p>This method is used for keysets containing no secret key material.
java_src/src/main/java/com/google/crypto/tink/LegacyKeysetSerialization.java