@Test public void testSetKeyType() throws Throwable { byte[] keyBytes = new byte[3]; new SecureDESKey((short) 100, "testSecureKeyKeyType", keyBytes, keyBytes).getKeyBytes(); SecureKey secureDESKey = new SecureDESKey((short) 1000, "testSecureKeyKeyType1", "3check-value>".getBytes(), keyBytes); secureDESKey.setKeyType("testSecureKeyKeyType"); assertEquals("testSecureKeyKeyType", ((SecureDESKey) secureDESKey).keyType, "(SecureDESKey) secureDESKey.keyType"); }
public void setKeyType (String keyType) { this.keyType = keyType; }
SecureKey implements Serializable, Loggeable { public void setKeyType (String keyType) { this.keyType = keyType; } }
SecureKey implements Serializable, Loggeable { public void setKeyType (String keyType) { this.keyType = keyType; }  }
SecureKey implements Serializable, Loggeable { public void setKeyType (String keyType) { this.keyType = keyType; }  void setKeyBytes(byte[] keyBytes); byte[] getKeyBytes(); void setKeyCheckValue(byte[] keyCheckValue); byte[] getKeyCheckValue(); void setKeyLength(short keyLength); short getKeyLength(); void setKeyType(String keyType); String getKeyType(); void setScheme(KeyScheme scheme); abstract KeyScheme getScheme(); String getKeyName(); void setKeyName(String keyName); }
SecureKey implements Serializable, Loggeable { public void setKeyType (String keyType) { this.keyType = keyType; }  void setKeyBytes(byte[] keyBytes); byte[] getKeyBytes(); void setKeyCheckValue(byte[] keyCheckValue); byte[] getKeyCheckValue(); void setKeyLength(short keyLength); short getKeyLength(); void setKeyType(String keyType); String getKeyType(); void setScheme(KeyScheme scheme); abstract KeyScheme getScheme(); String getKeyName(); void setKeyName(String keyName);  }