@Deprecated
  public static final KeysetHandle createFromKey(KeyHandle keyHandle, KeyAccess access)
      throws GeneralSecurityException {
    KeysetManager km = KeysetManager.withEmptyKeyset().add(keyHandle);
    km.setPrimary(km.getKeysetHandle().getKeysetInfo().getKeyInfo(0).getKeyId());
    return km.getKeysetHandle();
  }
Returns a {@code KeysetHandle} that contains the single {@code KeyHandle} passed as input.

@deprecated Use {@link KeysetHandle.Builder.addEntry} instead.
java_src/src/main/java/com/google/crypto/tink/KeysetHandle.java