public static KeysetWriter withOutputStream(OutputStream stream) {
    return new JsonKeysetWriter(stream);
  }
Static method to create a JsonKeysetWriter that writes to an {@link OutputStream}.

<p>{@code stream} will be closed after the keyset is written.
java_src/src/main/java/com/google/crypto/tink/JsonKeysetWriter.java