@Test
public void createKey_values() throws Exception {

  AesCtrHmacStreamingKeyFormat format = createKeyFormat().build();
  AesCtrHmacStreamingKey key = factory.createKey(format);
  assertThat(key.getVersion()).isEqualTo(0);
  assertThat(key.getKeyValue()).hasSize(format.getKeySize());
  assertThat(key.getParams()).isEqualTo(format.getParams());
}