@SuppressWarnings("UnusedException")
  public static KeysetHandle parseKeysetWithoutSecret(String serializedKeyset)
      throws GeneralSecurityException {
    try {
      return KeysetHandle.readNoSecret(JsonKeysetReader.withString(serializedKeyset));
    } catch (IOException e) {
      throw new GeneralSecurityException("Parse keyset failed");
    }
  }
Functions to parse and serialize Keyset in Tink's JSON format based on Protobufs.
java_src/src/main/java/com/google/crypto/tink/TinkJsonProtoKeysetFormat.java