/** * Add secured attribute to specified vault block. This method can be called only after successful * startVaultSession() call. * * @param vaultBlock * @param attributeName * @param attributeValue */ public void addSecuredAttribute(String vaultBlock, String attributeName, char[] attributeValue) throws Exception { if (handshakeKey == null) { throw new Exception( "addSecuredAttribute method has to be called after successful startVaultSession() call."); } vault.store(vaultBlock, attributeName, attributeValue, handshakeKey); attributeCreatedDisplay(vaultBlock, attributeName); }