@Deprecated
  public static KeysetHandle read(
      KeysetReader reader, Map<String, String> monitoringAnnotations)
      throws GeneralSecurityException, IOException {
    return KeysetHandle.fromKeysetAndAnnotations(
        reader.read(), MonitoringAnnotations.newBuilder().addAll(monitoringAnnotations).build());
  }
Creates a {@link KeysetHandle} from a {@code KeysetReader}.

<p>The additional {@code monitoringAnnotations} are used for monitoring, and will be passed to
the {@link MonitoringClient}.

@throws GeneralSecurityException when the keyset is invalid or cannot be read.
@deprecated Instead, use a {@link KeysetHandle.Builder}.
java_src/src/main/java/com/google/crypto/tink/CleartextKeysetHandle.java