@Test(expected = IllegalArgumentException.class) public void test_UnlockData_badLength() { final String UNLOCK_DATA_BAD_LENGTH = "00112233445566778899AABBCCDDEEFF00"; SamSelector samSelector = SamSelector.builder() .samIdentifier( new SamIdentifier.SamIdentifierBuilder() .samRevision(SamRevision.C1) .serialNumber("11223344") .build()) .unlockData(ByteArrayUtil.fromHex(UNLOCK_DATA_BAD_LENGTH)) .build(); }
public static SamSelectorBuilder builder() { return new SamSelectorBuilder(); }
SamSelector extends SeSelector { public static SamSelectorBuilder builder() { return new SamSelectorBuilder(); } }
SamSelector extends SeSelector { public static SamSelectorBuilder builder() { return new SamSelectorBuilder(); } private  SamSelector(SamSelectorBuilder builder); }
SamSelector extends SeSelector { public static SamSelectorBuilder builder() { return new SamSelectorBuilder(); } private  SamSelector(SamSelectorBuilder builder); static SamSelectorBuilder builder(); SamRevision getTargetSamRevision(); byte[] getUnlockData(); }
SamSelector extends SeSelector { public static SamSelectorBuilder builder() { return new SamSelectorBuilder(); } private  SamSelector(SamSelectorBuilder builder); static SamSelectorBuilder builder(); SamRevision getTargetSamRevision(); byte[] getUnlockData();  }