@Test
public void test_kid_no_security() throws Exception {

  for (int i = 0; i < 256; i++) {
    final KID kid = KIDCoder.encode(CertificationMode.NO_SECURITY, (byte) (i & 0xff));
    assertNull(kid.getAlgorithmImplementation());
    assertNull(kid.getCertificationAlgorithmMode());
    assertEquals((byte) ((i & 0xf0) >>> 4), kid.getKeysetID());
  }
}