@Test public void testSetKeyLength() { assertThrows(UnsupportedOperationException.class, () -> { instance.setKeyLength((short) 128); }); }
@Override public void setKeyLength(short keyLength) { throw new UnsupportedOperationException( "Operation setKeyLength() not allowed for " + SecureKeyBlock.class.getName() ); }
SecureKeyBlock extends SecureKey { @Override public void setKeyLength(short keyLength) { throw new UnsupportedOperationException( "Operation setKeyLength() not allowed for " + SecureKeyBlock.class.getName() ); } }
SecureKeyBlock extends SecureKey { @Override public void setKeyLength(short keyLength) { throw new UnsupportedOperationException( "Operation setKeyLength() not allowed for " + SecureKeyBlock.class.getName() ); } protected  SecureKeyBlock(); }
SecureKeyBlock extends SecureKey { @Override public void setKeyLength(short keyLength) { throw new UnsupportedOperationException( "Operation setKeyLength() not allowed for " + SecureKeyBlock.class.getName() ); } protected  SecureKeyBlock(); @Override void setKeyType(String keyType); @Override String getKeyType(); @Override void setKeyLength(short keyLength); @Override short getKeyLength(); @Override KeyScheme getScheme(); char getKeyBlockVersion(); int getKeyBlockLength(); KeyUsage getKeyUsage(); Algorithm getAlgorithm(); ModeOfUse getModeOfUse(); String getKeyVersion(); Exportability getExportability(); String getReserved(); Map<String, String> getOptionalHeaders(); byte[] getKeyBlockMAC(); @Override void dump(PrintStream p, String indent); }
SecureKeyBlock extends SecureKey { @Override public void setKeyLength(short keyLength) { throw new UnsupportedOperationException( "Operation setKeyLength() not allowed for " + SecureKeyBlock.class.getName() ); } protected  SecureKeyBlock(); @Override void setKeyType(String keyType); @Override String getKeyType(); @Override void setKeyLength(short keyLength); @Override short getKeyLength(); @Override KeyScheme getScheme(); char getKeyBlockVersion(); int getKeyBlockLength(); KeyUsage getKeyUsage(); Algorithm getAlgorithm(); ModeOfUse getModeOfUse(); String getKeyVersion(); Exportability getExportability(); String getReserved(); Map<String, String> getOptionalHeaders(); byte[] getKeyBlockMAC(); @Override void dump(PrintStream p, String indent);  }