From 6a2d5af87f77825403a9bdec25dd50b4c5caeb68 Mon Sep 17 00:00:00 2001
From: Martin Strbacka <m.strbacka@gmail.com>
Date: Fri, 30 Nov 2012 14:23:01 +0100
Subject: [PATCH] License added.

---
 LICENSE                                       | 15 ++++++++++
 .../datovka/activities/AccountActivity.java   | 17 +++++++++++
 .../activities/AccountInfoActivity.java       | 18 ++++++++++++
 .../nic/datovka/activities/Application.java   | 18 ++++++++++++
 .../nic/datovka/activities/MainActivity.java  | 18 ++++++++++++
 .../activities/MessageDetailActivity.java     | 17 +++++++++++
 src/cz/nic/datovka/connector/Connector.java   | 18 ++++++++++++
 .../nic/datovka/connector/DatabaseHelper.java | 17 +++++++++++
 .../nic/datovka/connector/DatabaseTools.java  | 17 +++++++++++
 .../FileAttachmentStorerWithDBInsertion.java  | 17 +++++++++++
 .../MessageListCursorAdapter.java             | 18 ++++++++++++
 .../MsgBoxContentProvider.java                | 18 ++++++++++++
 .../ReceivedMessagesContentProvider.java      | 18 ++++++++++++
 .../RecvAttachmentsContentProvider.java       | 18 ++++++++++++
 .../SentAttachmentsContentProvider.java       | 18 ++++++++++++
 .../SentMessagesContentProvider.java          | 18 ++++++++++++
 .../StorageNotAwailableException.java         | 18 ++++++++++++
 .../fragments/AccountInfoFragment.java        | 18 ++++++++++++
 .../fragments/AccountListFragment.java        | 18 ++++++++++++
 .../datovka/fragments/AddAccountFragment.java | 18 ++++++++++++
 .../fragments/ChangePasswordFragment.java     | 18 ++++++++++++
 .../fragments/MessageAttachmentsFragment.java | 18 ++++++++++++
 .../fragments/MessageDetailFragment.java      | 18 ++++++++++++
 .../MessageDownloadProgressFragment.java      | 18 ++++++++++++
 .../ReceivedMessageListFragment.java          | 18 ++++++++++++
 .../fragments/SentMessageListFragment.java    | 18 ++++++++++++
 .../datovka/services/AddAccountService.java   | 18 ++++++++++++
 .../services/CMSStripperInputStream.java      | 18 ++++++++++++
 .../services/GaugeFileOutputStream.java       | 18 ++++++++++++
 .../services/MessageBoxRefreshService.java    | 18 ++++++++++++
 .../services/MessageDownloadService.java      | 18 ++++++++++++
 .../services/MessageStatusRefresher.java      | 18 ++++++++++++
 src/cz/nic/datovka/tinyDB/AndroidUtils.java   | 21 ++++++++++++++
 src/cz/nic/datovka/tinyDB/DataBoxManager.java | 28 ++++++++++++++++++
 .../datovka/tinyDB/MyAndroidTrustManager.java |  1 +
 .../nic/datovka/tinyDB/SimpleSAXParser.java   | 29 ++++++++++++++++++-
 .../tinyDB/exceptions/DSException.java        | 18 ++++++++++++
 .../tinyDB/exceptions/HttpException.java      | 18 ++++++++++++
 .../StreamInterruptedException.java           | 18 ++++++++++++
 .../datovka/tinyDB/holders/OutputHolder.java  | 28 ++++++++++++++++++
 .../tinyDB/holders/OutputStreamHolder.java    | 28 ++++++++++++++++++
 .../datovka/tinyDB/holders/StringHolder.java  | 28 ++++++++++++++++++
 .../AbstractResponseParser.java               | 28 ++++++++++++++++++
 .../DownloadReceivedMessage.java              | 28 ++++++++++++++++++
 .../DownloadSignedReceivedMessage.java        | 28 ++++++++++++++++++
 .../DownloadSignedSentMessage.java            | 28 ++++++++++++++++++
 .../responseparsers/GetDeliveryInfo.java      | 28 ++++++++++++++++++
 .../GetListOfReceivedMessages.java            | 28 ++++++++++++++++++
 .../GetListOfSentMessages.java                | 28 ++++++++++++++++++
 .../GetOwnerInfoFromLogin.java                | 28 ++++++++++++++++++
 .../responseparsers/GetPasswordInfo.java      | 28 ++++++++++++++++++
 .../responseparsers/GetUserInfoFromLogin.java | 28 ++++++++++++++++++
 .../responseparsers/ResponseParser.java       | 28 ++++++++++++++++++
 .../tinyDB/responseparsers/VerifyMessage.java | 28 ++++++++++++++++++
 54 files changed, 1120 insertions(+), 1 deletion(-)
 create mode 100644 LICENSE

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..74d9f87
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,15 @@
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/src/cz/nic/datovka/activities/AccountActivity.java b/src/cz/nic/datovka/activities/AccountActivity.java
index ce40e66..48d3a58 100644
--- a/src/cz/nic/datovka/activities/AccountActivity.java
+++ b/src/cz/nic/datovka/activities/AccountActivity.java
@@ -1,3 +1,20 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 package cz.nic.datovka.activities;
 
 import android.content.Intent;
diff --git a/src/cz/nic/datovka/activities/AccountInfoActivity.java b/src/cz/nic/datovka/activities/AccountInfoActivity.java
index 5bb90a7..591415c 100644
--- a/src/cz/nic/datovka/activities/AccountInfoActivity.java
+++ b/src/cz/nic/datovka/activities/AccountInfoActivity.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.activities;
 
 import android.content.Intent;
diff --git a/src/cz/nic/datovka/activities/Application.java b/src/cz/nic/datovka/activities/Application.java
index 6e9639e..3569bf4 100644
--- a/src/cz/nic/datovka/activities/Application.java
+++ b/src/cz/nic/datovka/activities/Application.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.activities;
 
 import android.content.Context;
diff --git a/src/cz/nic/datovka/activities/MainActivity.java b/src/cz/nic/datovka/activities/MainActivity.java
index f35d2a5..d1e6615 100644
--- a/src/cz/nic/datovka/activities/MainActivity.java
+++ b/src/cz/nic/datovka/activities/MainActivity.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.activities;
 
 import android.content.Intent;
diff --git a/src/cz/nic/datovka/activities/MessageDetailActivity.java b/src/cz/nic/datovka/activities/MessageDetailActivity.java
index 5866ef1..74892b1 100644
--- a/src/cz/nic/datovka/activities/MessageDetailActivity.java
+++ b/src/cz/nic/datovka/activities/MessageDetailActivity.java
@@ -1,3 +1,20 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 package cz.nic.datovka.activities;
 
 import java.io.File;
diff --git a/src/cz/nic/datovka/connector/Connector.java b/src/cz/nic/datovka/connector/Connector.java
index b264def..c1bf2c2 100644
--- a/src/cz/nic/datovka/connector/Connector.java
+++ b/src/cz/nic/datovka/connector/Connector.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.connector;
 
 import java.io.InputStream;
diff --git a/src/cz/nic/datovka/connector/DatabaseHelper.java b/src/cz/nic/datovka/connector/DatabaseHelper.java
index b819951..bdc1f94 100644
--- a/src/cz/nic/datovka/connector/DatabaseHelper.java
+++ b/src/cz/nic/datovka/connector/DatabaseHelper.java
@@ -1,3 +1,20 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 package cz.nic.datovka.connector;
 
 import android.content.Context;
diff --git a/src/cz/nic/datovka/connector/DatabaseTools.java b/src/cz/nic/datovka/connector/DatabaseTools.java
index 0ba9e9e..a034742 100644
--- a/src/cz/nic/datovka/connector/DatabaseTools.java
+++ b/src/cz/nic/datovka/connector/DatabaseTools.java
@@ -1,3 +1,20 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 package cz.nic.datovka.connector;
 
 import android.content.ContentUris;
diff --git a/src/cz/nic/datovka/connector/FileAttachmentStorerWithDBInsertion.java b/src/cz/nic/datovka/connector/FileAttachmentStorerWithDBInsertion.java
index fb60ecd..21c4bec 100644
--- a/src/cz/nic/datovka/connector/FileAttachmentStorerWithDBInsertion.java
+++ b/src/cz/nic/datovka/connector/FileAttachmentStorerWithDBInsertion.java
@@ -1,3 +1,20 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 package cz.nic.datovka.connector;
 
 import java.io.File;
diff --git a/src/cz/nic/datovka/contentProviders/MessageListCursorAdapter.java b/src/cz/nic/datovka/contentProviders/MessageListCursorAdapter.java
index 482f1ed..7cde897 100644
--- a/src/cz/nic/datovka/contentProviders/MessageListCursorAdapter.java
+++ b/src/cz/nic/datovka/contentProviders/MessageListCursorAdapter.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 
diff --git a/src/cz/nic/datovka/contentProviders/MsgBoxContentProvider.java b/src/cz/nic/datovka/contentProviders/MsgBoxContentProvider.java
index 573701f..b02617a 100644
--- a/src/cz/nic/datovka/contentProviders/MsgBoxContentProvider.java
+++ b/src/cz/nic/datovka/contentProviders/MsgBoxContentProvider.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 import java.util.Arrays;
diff --git a/src/cz/nic/datovka/contentProviders/ReceivedMessagesContentProvider.java b/src/cz/nic/datovka/contentProviders/ReceivedMessagesContentProvider.java
index b3165fe..b8fac52 100644
--- a/src/cz/nic/datovka/contentProviders/ReceivedMessagesContentProvider.java
+++ b/src/cz/nic/datovka/contentProviders/ReceivedMessagesContentProvider.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 import java.util.Arrays;
diff --git a/src/cz/nic/datovka/contentProviders/RecvAttachmentsContentProvider.java b/src/cz/nic/datovka/contentProviders/RecvAttachmentsContentProvider.java
index 11678c4..d25b7a0 100644
--- a/src/cz/nic/datovka/contentProviders/RecvAttachmentsContentProvider.java
+++ b/src/cz/nic/datovka/contentProviders/RecvAttachmentsContentProvider.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 import java.util.Arrays;
diff --git a/src/cz/nic/datovka/contentProviders/SentAttachmentsContentProvider.java b/src/cz/nic/datovka/contentProviders/SentAttachmentsContentProvider.java
index d8a4e29..9c8e67c 100644
--- a/src/cz/nic/datovka/contentProviders/SentAttachmentsContentProvider.java
+++ b/src/cz/nic/datovka/contentProviders/SentAttachmentsContentProvider.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 import java.util.Arrays;
diff --git a/src/cz/nic/datovka/contentProviders/SentMessagesContentProvider.java b/src/cz/nic/datovka/contentProviders/SentMessagesContentProvider.java
index 844a772..6b64908 100644
--- a/src/cz/nic/datovka/contentProviders/SentMessagesContentProvider.java
+++ b/src/cz/nic/datovka/contentProviders/SentMessagesContentProvider.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.contentProviders;
 
 import java.util.Arrays;
diff --git a/src/cz/nic/datovka/exceptions/StorageNotAwailableException.java b/src/cz/nic/datovka/exceptions/StorageNotAwailableException.java
index c12c77b..6f0d636 100644
--- a/src/cz/nic/datovka/exceptions/StorageNotAwailableException.java
+++ b/src/cz/nic/datovka/exceptions/StorageNotAwailableException.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.exceptions;
 
 public class StorageNotAwailableException extends Exception{
diff --git a/src/cz/nic/datovka/fragments/AccountInfoFragment.java b/src/cz/nic/datovka/fragments/AccountInfoFragment.java
index 3353e99..92b34a6 100644
--- a/src/cz/nic/datovka/fragments/AccountInfoFragment.java
+++ b/src/cz/nic/datovka/fragments/AccountInfoFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.content.ContentUris;
diff --git a/src/cz/nic/datovka/fragments/AccountListFragment.java b/src/cz/nic/datovka/fragments/AccountListFragment.java
index 54dd18e..08a4747 100644
--- a/src/cz/nic/datovka/fragments/AccountListFragment.java
+++ b/src/cz/nic/datovka/fragments/AccountListFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.content.Intent;
diff --git a/src/cz/nic/datovka/fragments/AddAccountFragment.java b/src/cz/nic/datovka/fragments/AddAccountFragment.java
index 6a2b400..9e991ec 100644
--- a/src/cz/nic/datovka/fragments/AddAccountFragment.java
+++ b/src/cz/nic/datovka/fragments/AddAccountFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.app.AlertDialog;
diff --git a/src/cz/nic/datovka/fragments/ChangePasswordFragment.java b/src/cz/nic/datovka/fragments/ChangePasswordFragment.java
index 2bef361..48d392b 100644
--- a/src/cz/nic/datovka/fragments/ChangePasswordFragment.java
+++ b/src/cz/nic/datovka/fragments/ChangePasswordFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import org.kobjects.base64.Base64;
diff --git a/src/cz/nic/datovka/fragments/MessageAttachmentsFragment.java b/src/cz/nic/datovka/fragments/MessageAttachmentsFragment.java
index 2f76896..a773724 100644
--- a/src/cz/nic/datovka/fragments/MessageAttachmentsFragment.java
+++ b/src/cz/nic/datovka/fragments/MessageAttachmentsFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import java.io.File;
diff --git a/src/cz/nic/datovka/fragments/MessageDetailFragment.java b/src/cz/nic/datovka/fragments/MessageDetailFragment.java
index c7018dd..2c35209 100644
--- a/src/cz/nic/datovka/fragments/MessageDetailFragment.java
+++ b/src/cz/nic/datovka/fragments/MessageDetailFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import java.util.logging.Level;
diff --git a/src/cz/nic/datovka/fragments/MessageDownloadProgressFragment.java b/src/cz/nic/datovka/fragments/MessageDownloadProgressFragment.java
index b5d76d4..2a41495 100644
--- a/src/cz/nic/datovka/fragments/MessageDownloadProgressFragment.java
+++ b/src/cz/nic/datovka/fragments/MessageDownloadProgressFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.app.Dialog;
diff --git a/src/cz/nic/datovka/fragments/ReceivedMessageListFragment.java b/src/cz/nic/datovka/fragments/ReceivedMessageListFragment.java
index d0a0863..cfd9cea 100644
--- a/src/cz/nic/datovka/fragments/ReceivedMessageListFragment.java
+++ b/src/cz/nic/datovka/fragments/ReceivedMessageListFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.database.Cursor;
diff --git a/src/cz/nic/datovka/fragments/SentMessageListFragment.java b/src/cz/nic/datovka/fragments/SentMessageListFragment.java
index ff02bc2..9c9439c 100644
--- a/src/cz/nic/datovka/fragments/SentMessageListFragment.java
+++ b/src/cz/nic/datovka/fragments/SentMessageListFragment.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.fragments;
 
 import android.database.Cursor;
diff --git a/src/cz/nic/datovka/services/AddAccountService.java b/src/cz/nic/datovka/services/AddAccountService.java
index 7c0639f..32fed1a 100644
--- a/src/cz/nic/datovka/services/AddAccountService.java
+++ b/src/cz/nic/datovka/services/AddAccountService.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.util.GregorianCalendar;
diff --git a/src/cz/nic/datovka/services/CMSStripperInputStream.java b/src/cz/nic/datovka/services/CMSStripperInputStream.java
index 0690d2c..d2ef1cc 100644
--- a/src/cz/nic/datovka/services/CMSStripperInputStream.java
+++ b/src/cz/nic/datovka/services/CMSStripperInputStream.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.io.IOException;
diff --git a/src/cz/nic/datovka/services/GaugeFileOutputStream.java b/src/cz/nic/datovka/services/GaugeFileOutputStream.java
index e06efb9..91c5d96 100644
--- a/src/cz/nic/datovka/services/GaugeFileOutputStream.java
+++ b/src/cz/nic/datovka/services/GaugeFileOutputStream.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.io.File;
diff --git a/src/cz/nic/datovka/services/MessageBoxRefreshService.java b/src/cz/nic/datovka/services/MessageBoxRefreshService.java
index e813182..c23b24e 100644
--- a/src/cz/nic/datovka/services/MessageBoxRefreshService.java
+++ b/src/cz/nic/datovka/services/MessageBoxRefreshService.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.util.GregorianCalendar;
diff --git a/src/cz/nic/datovka/services/MessageDownloadService.java b/src/cz/nic/datovka/services/MessageDownloadService.java
index ecac608..0be6c6e 100644
--- a/src/cz/nic/datovka/services/MessageDownloadService.java
+++ b/src/cz/nic/datovka/services/MessageDownloadService.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.io.File;
diff --git a/src/cz/nic/datovka/services/MessageStatusRefresher.java b/src/cz/nic/datovka/services/MessageStatusRefresher.java
index f1f9ef8..31fa44d 100644
--- a/src/cz/nic/datovka/services/MessageStatusRefresher.java
+++ b/src/cz/nic/datovka/services/MessageStatusRefresher.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.services;
 
 import java.util.GregorianCalendar;
diff --git a/src/cz/nic/datovka/tinyDB/AndroidUtils.java b/src/cz/nic/datovka/tinyDB/AndroidUtils.java
index 08096ef..e69d8b0 100644
--- a/src/cz/nic/datovka/tinyDB/AndroidUtils.java
+++ b/src/cz/nic/datovka/tinyDB/AndroidUtils.java
@@ -1,3 +1,24 @@
+/*
+ *  Datove schranky (http://github.com/b00lean/datoveschranky)
+ *  Copyright (C) 2010  Karel Kyovsky <karel.kyovsky at apksoft.eu>
+ *  Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+ *
+ *  This file is part of Datove schranky (http://github.com/b00lean/datoveschranky).
+ *
+ *  Datove schranky is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License
+ *  
+ *  Datove schranky is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with Datove schranky.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
 package cz.nic.datovka.tinyDB;
 
 import java.text.SimpleDateFormat;
diff --git a/src/cz/nic/datovka/tinyDB/DataBoxManager.java b/src/cz/nic/datovka/tinyDB/DataBoxManager.java
index ddee9c8..fff70db 100644
--- a/src/cz/nic/datovka/tinyDB/DataBoxManager.java
+++ b/src/cz/nic/datovka/tinyDB/DataBoxManager.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB;
 
 import java.io.IOException;
diff --git a/src/cz/nic/datovka/tinyDB/MyAndroidTrustManager.java b/src/cz/nic/datovka/tinyDB/MyAndroidTrustManager.java
index 284b7a8..bced3b2 100644
--- a/src/cz/nic/datovka/tinyDB/MyAndroidTrustManager.java
+++ b/src/cz/nic/datovka/tinyDB/MyAndroidTrustManager.java
@@ -1,6 +1,7 @@
 /*
  *  Datove schranky (http://github.com/b00lean/datoveschranky)
  *  Copyright (C) 2010  Karel Kyovsky <karel.kyovsky at apksoft.eu>
+ *  Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
  *
  *  This file is part of Datove schranky (http://github.com/b00lean/datoveschranky).
  *
diff --git a/src/cz/nic/datovka/tinyDB/SimpleSAXParser.java b/src/cz/nic/datovka/tinyDB/SimpleSAXParser.java
index f10f552..7faebf6 100644
--- a/src/cz/nic/datovka/tinyDB/SimpleSAXParser.java
+++ b/src/cz/nic/datovka/tinyDB/SimpleSAXParser.java
@@ -1,5 +1,32 @@
-package cz.nic.datovka.tinyDB;
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
 
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+package cz.nic.datovka.tinyDB;
 
 import org.xml.sax.Attributes;
 import org.xml.sax.SAXException;
diff --git a/src/cz/nic/datovka/tinyDB/exceptions/DSException.java b/src/cz/nic/datovka/tinyDB/exceptions/DSException.java
index 46ff6f1..66c02a6 100644
--- a/src/cz/nic/datovka/tinyDB/exceptions/DSException.java
+++ b/src/cz/nic/datovka/tinyDB/exceptions/DSException.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.tinyDB.exceptions;
 
 public class DSException extends Exception{
diff --git a/src/cz/nic/datovka/tinyDB/exceptions/HttpException.java b/src/cz/nic/datovka/tinyDB/exceptions/HttpException.java
index 8a1cfe9..f3eb47c 100644
--- a/src/cz/nic/datovka/tinyDB/exceptions/HttpException.java
+++ b/src/cz/nic/datovka/tinyDB/exceptions/HttpException.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.tinyDB.exceptions;
 
 public class HttpException extends Exception{
diff --git a/src/cz/nic/datovka/tinyDB/exceptions/StreamInterruptedException.java b/src/cz/nic/datovka/tinyDB/exceptions/StreamInterruptedException.java
index 0f43a68..7310701 100644
--- a/src/cz/nic/datovka/tinyDB/exceptions/StreamInterruptedException.java
+++ b/src/cz/nic/datovka/tinyDB/exceptions/StreamInterruptedException.java
@@ -1,3 +1,21 @@
+/*
+Datovka - An Android client for Datove schranky
+    Copyright (C) 2012  CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
 package cz.nic.datovka.tinyDB.exceptions;
 
 public class StreamInterruptedException extends Exception{
diff --git a/src/cz/nic/datovka/tinyDB/holders/OutputHolder.java b/src/cz/nic/datovka/tinyDB/holders/OutputHolder.java
index ce00b51..ffb8b78 100644
--- a/src/cz/nic/datovka/tinyDB/holders/OutputHolder.java
+++ b/src/cz/nic/datovka/tinyDB/holders/OutputHolder.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.holders;
 
 import java.io.IOException;
diff --git a/src/cz/nic/datovka/tinyDB/holders/OutputStreamHolder.java b/src/cz/nic/datovka/tinyDB/holders/OutputStreamHolder.java
index 58f9646..b363804 100644
--- a/src/cz/nic/datovka/tinyDB/holders/OutputStreamHolder.java
+++ b/src/cz/nic/datovka/tinyDB/holders/OutputStreamHolder.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.holders;
 
 import java.io.BufferedWriter;
diff --git a/src/cz/nic/datovka/tinyDB/holders/StringHolder.java b/src/cz/nic/datovka/tinyDB/holders/StringHolder.java
index ba0d8d6..4ff8744 100644
--- a/src/cz/nic/datovka/tinyDB/holders/StringHolder.java
+++ b/src/cz/nic/datovka/tinyDB/holders/StringHolder.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.holders;
 
 /**
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/AbstractResponseParser.java b/src/cz/nic/datovka/tinyDB/responseparsers/AbstractResponseParser.java
index abfdfe7..ee4f9ce 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/AbstractResponseParser.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/AbstractResponseParser.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import cz.abclinuxu.datoveschranky.common.impl.Status;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadReceivedMessage.java b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadReceivedMessage.java
index f9ef5fe..6576a12 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadReceivedMessage.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadReceivedMessage.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.io.Closeable;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedReceivedMessage.java b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedReceivedMessage.java
index 2116e64..d780ac6 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedReceivedMessage.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedReceivedMessage.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.io.Closeable;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedSentMessage.java b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedSentMessage.java
index b2994f0..d95382a 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedSentMessage.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/DownloadSignedSentMessage.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.io.Closeable;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetDeliveryInfo.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetDeliveryInfo.java
index cf08a68..65a206a 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetDeliveryInfo.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetDeliveryInfo.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.HashMap;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfReceivedMessages.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfReceivedMessages.java
index db2cb6d..9d98e69 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfReceivedMessages.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfReceivedMessages.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.ArrayList;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfSentMessages.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfSentMessages.java
index 0e85385..eadfb9f 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfSentMessages.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetListOfSentMessages.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.ArrayList;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetOwnerInfoFromLogin.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetOwnerInfoFromLogin.java
index 5935a8a..7c58a87 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetOwnerInfoFromLogin.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetOwnerInfoFromLogin.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.HashMap;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetPasswordInfo.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetPasswordInfo.java
index 160d89d..9c6b8a4 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetPasswordInfo.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetPasswordInfo.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.Date;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/GetUserInfoFromLogin.java b/src/cz/nic/datovka/tinyDB/responseparsers/GetUserInfoFromLogin.java
index cd2e290..b8ea0e6 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/GetUserInfoFromLogin.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/GetUserInfoFromLogin.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import java.util.HashMap;
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/ResponseParser.java b/src/cz/nic/datovka/tinyDB/responseparsers/ResponseParser.java
index a0f7240..0a45b15 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/ResponseParser.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/ResponseParser.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 
diff --git a/src/cz/nic/datovka/tinyDB/responseparsers/VerifyMessage.java b/src/cz/nic/datovka/tinyDB/responseparsers/VerifyMessage.java
index 9764f51..23425a9 100644
--- a/src/cz/nic/datovka/tinyDB/responseparsers/VerifyMessage.java
+++ b/src/cz/nic/datovka/tinyDB/responseparsers/VerifyMessage.java
@@ -1,3 +1,31 @@
+/*
+Copyright (c) 2010, Vaclav Rosecky <xrosecky at gmail dot com>
+All rights reserved.
+Modification: 09/2012 CZ NIC z.s.p.o. <podpora at nic dot cz>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+      names of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
 package cz.nic.datovka.tinyDB.responseparsers;
 
 import cz.abclinuxu.datoveschranky.common.impl.Utils;
-- 
GitLab