public static KeysetHandle createKeysetHandle(Keyset keyset) throws Exception {
    return TinkProtoKeysetFormat.parseKeyset(keyset.toByteArray(), InsecureSecretKeyAccess.get());
  }
@return a keyset handle from a {@code keyset}.
java_src/src/main/java/com/google/crypto/tink/testing/TestUtil.java