diff --git a/AccountViewController_Shared.h b/AccountViewController_Shared.h
index 4b9e97e0682d3918b18a50d67c3fb01809ef8e54..8f77f5502cf40eb6f7d73c27cfe579927f963a49 100644
--- a/AccountViewController_Shared.h
+++ b/AccountViewController_Shared.h
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AccountViewController_Shared.h
 //  ISDS
diff --git a/AccountViewController_Shared.m b/AccountViewController_Shared.m
index bbdf16d9f372866240c500563ff1b48b78b685d6..d7dd6c7cc2d70014f07679e9f56543169d001d52 100644
--- a/AccountViewController_Shared.m
+++ b/AccountViewController_Shared.m
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  SettingsViewController.m
 //  ISDS
diff --git a/AccountViewController_iPad.h b/AccountViewController_iPad.h
index a192b723a332e9ec82ccc24211cb07bf44f1feaa..02874e3827d1efac0fb3b657378397f8e2c93610 100644
--- a/AccountViewController_iPad.h
+++ b/AccountViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AccountViewController_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/AccountViewController_iPad.m b/AccountViewController_iPad.m
index 75aad812642624b1a34c605ee926775f01dd07c0..307a29c8b98c720656028fd0d144118fa4f193ed 100644
--- a/AccountViewController_iPad.m
+++ b/AccountViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AccountViewController_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "AccountViewController_iPad.h"
diff --git a/AccountViewController_iPhone.h b/AccountViewController_iPhone.h
index 94c40c7e1b7ed80925154d1e1d3704b6dd055e3b..442ddfab6ec3ec95e912e418cdfc0c4a656928c7 100644
--- a/AccountViewController_iPhone.h
+++ b/AccountViewController_iPhone.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AccountViewController_iPhone.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/AccountViewController_iPhone.m b/AccountViewController_iPhone.m
index 30bb2f0320082a5302ccbbb03da3846fe0e71d9b..e82082d6e3759e81467d2f775e14398672e851e3 100644
--- a/AccountViewController_iPhone.m
+++ b/AccountViewController_iPhone.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AccountViewController_iPhone.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "AccountViewController_iPhone.h"
diff --git a/AddAccountViewController_iPad.h b/AddAccountViewController_iPad.h
index 1193274260fe6f8e828071f339fe89bd10967bf4..a2f9fad784febec6a8b4a86671444865b231ad8a 100644
--- a/AddAccountViewController_iPad.h
+++ b/AddAccountViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AddAccountViewController_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/AddAccountViewController_iPad.m b/AddAccountViewController_iPad.m
index 0ac0262bcc09495e0a82ed115e7011a20d71dbd5..ef3afe7402994add567dae2d6a2d548bf105fc26 100644
--- a/AddAccountViewController_iPad.m
+++ b/AddAccountViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  AddAccountViewController_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "AddAccountViewController_iPad.h"
diff --git a/Classes/AccountCache.h b/Classes/AccountCache.h
index b5f01ef5a4686aa5e3d6b135570e5a3f079527a3..953977b1fc54098196f846b3851f4a3e794cac7c 100644
--- a/Classes/AccountCache.h
+++ b/Classes/AccountCache.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AccountCache.h
diff --git a/Classes/AccountCache.m b/Classes/AccountCache.m
index b1429a9342001b9dd9b036e660be5996e248f933..f8fe9f741e0fea47891b7891c5f55e94466da3a9 100644
--- a/Classes/AccountCache.m
+++ b/Classes/AccountCache.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AccountCache.m
diff --git a/Classes/Accounts.h b/Classes/Accounts.h
index 466c4ef672384512e57a5d586c547b16ed91c005..d796e6640dec45c7fe83beb95d218a3625d67b57 100644
--- a/Classes/Accounts.h
+++ b/Classes/Accounts.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Accounts.h
diff --git a/Classes/Accounts.m b/Classes/Accounts.m
index 9be3b798e087e566f63a9dd74c8b39e1b4c895fb..0568254baa72b0b0205d87e4a49489aae6717a92 100644
--- a/Classes/Accounts.m
+++ b/Classes/Accounts.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Accounts.m
diff --git a/Classes/ActivatePinViewController.h b/Classes/ActivatePinViewController.h
index 5bc8dd6ae7a0ae73ee6847111c99e01e1251e157..87ae2e9d2a993eadbeb543ac044426b853032c9b 100644
--- a/Classes/ActivatePinViewController.h
+++ b/Classes/ActivatePinViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ActivatePinViewController.h
diff --git a/Classes/ActivatePinViewController.m b/Classes/ActivatePinViewController.m
index ff79f90badbad2968ad0fecca170a10c8e85d67c..c0ab81c5f921a061d7919a8a01b8a36f79aea7a5 100644
--- a/Classes/ActivatePinViewController.m
+++ b/Classes/ActivatePinViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ActivatePINViewController.m
diff --git a/Classes/AddAccountViewController_iPhone.h b/Classes/AddAccountViewController_iPhone.h
index beff995e83c6ef64a4da7e4bf28a09c4f3b338f4..afed309fc39e8581ca990c15b04dbf16e3b551da 100644
--- a/Classes/AddAccountViewController_iPhone.h
+++ b/Classes/AddAccountViewController_iPhone.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AddAccountViewController_iPhone.h
diff --git a/Classes/AddAccountViewController_iPhone.m b/Classes/AddAccountViewController_iPhone.m
index 94cb6223f7f67a3c4763bbdb69d41dd6f1441dd9..34d21482b5ae86b3a13b1128104a64dfcb627d62 100644
--- a/Classes/AddAccountViewController_iPhone.m
+++ b/Classes/AddAccountViewController_iPhone.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AddAccountViewController_iPhone.m
diff --git a/Classes/AliasSettingsViewController.h b/Classes/AliasSettingsViewController.h
index e7569dd004faa754222c9834d58188325c771f49..06c31f5dc563078529b7067b77e8a365c1044223 100644
--- a/Classes/AliasSettingsViewController.h
+++ b/Classes/AliasSettingsViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AliasSettingsViewController.h
diff --git a/Classes/AliasSettingsViewController.m b/Classes/AliasSettingsViewController.m
index 7231f3bb92c8c9e58e05042e5dad925159f87839..fb4ae673986942d2817b4c3a54ffccb08271479b 100644
--- a/Classes/AliasSettingsViewController.m
+++ b/Classes/AliasSettingsViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AliasSettingsViewController.m
diff --git a/Classes/Attachment.h b/Classes/Attachment.h
index acb7ba8493bb1987bac2a60987aca015bae3f8e1..714d6c41370a4cfdd6e5803d2c39e6b4152ce48a 100644
--- a/Classes/Attachment.h
+++ b/Classes/Attachment.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Attachment.h
diff --git a/Classes/Attachment.m b/Classes/Attachment.m
index 6358cd96b500c4d3ef3ff91673e900ea1d0ef10c..6df09564200b51e17949d6cbb1f7f4c833fdf2e4 100644
--- a/Classes/Attachment.m
+++ b/Classes/Attachment.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Attachment.m
diff --git a/Classes/Attachments.h b/Classes/Attachments.h
index 800fbd5ac4ba8324f07693fc3a034412d6dc046b..1e5f684c45a7f2e5cffd1b233c6c928521fff353 100644
--- a/Classes/Attachments.h
+++ b/Classes/Attachments.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Attachments.h
diff --git a/Classes/Attachments.m b/Classes/Attachments.m
index d09d001ecbe9fb203d07c868a69a040f99d0881c..460f7536b28b39fdc1a55bc9b4c62ae86666745e 100644
--- a/Classes/Attachments.m
+++ b/Classes/Attachments.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Attachments.m
diff --git a/Classes/AuthPickerViewController.h b/Classes/AuthPickerViewController.h
index e76419d64db93b2e8dd47eb1513bdeaf77d5e987..945e34789df5010350696a78fd450a60cf6a1c53 100644
--- a/Classes/AuthPickerViewController.h
+++ b/Classes/AuthPickerViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AuthPickerViewController.h
diff --git a/Classes/AuthPickerViewController.m b/Classes/AuthPickerViewController.m
index eeeb918ee0442c93db401e8f63667b673221c93d..2119095748f98650ca7da8181fde931cf286be1e 100644
--- a/Classes/AuthPickerViewController.m
+++ b/Classes/AuthPickerViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  AuthPickerViewController.m
diff --git a/Classes/Base64.h b/Classes/Base64.h
index e8fc4a156634099af5075c8af671ee6a05f4ab5f..65bc76bba57ec6a7200a071007615dddb2a4ae72 100644
--- a/Classes/Base64.h
+++ b/Classes/Base64.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Base64.h
diff --git a/Classes/Base64.m b/Classes/Base64.m
index 972e3ee52c88683568ce7f03faee3c94eb942e15..ec5373688a4c1c9db496b0d1decbb591d20c6636 100644
--- a/Classes/Base64.m
+++ b/Classes/Base64.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Base64.m
diff --git a/Classes/BoxViewController.h b/Classes/BoxViewController.h
index ed931af9ac847c42a867b7d1dd6dd1d1a6629fe7..12dcc9e09cb7649b79e130265d24acab75aa2040 100644
--- a/Classes/BoxViewController.h
+++ b/Classes/BoxViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  BoxViewController.h
diff --git a/Classes/BoxViewController.m b/Classes/BoxViewController.m
index a4c5af544a1558fa6bf87a1b055c4ddc78e88f0a..a093d648ae60a64f2e482519d7ff01902545dc74 100644
--- a/Classes/BoxViewController.m
+++ b/Classes/BoxViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  BoxViewController.m
diff --git a/Classes/CertificateManager.h b/Classes/CertificateManager.h
index b025d06fc7f24e751334710bbdeef98e0b312106..8f7e550feb61a967af214dc7b0c2107469e46c45 100644
--- a/Classes/CertificateManager.h
+++ b/Classes/CertificateManager.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CertificateManager.h
diff --git a/Classes/CertificateManager.m b/Classes/CertificateManager.m
index 000eff411265866e5736ec19558f98883e2f19ba..f6f6268b9cfed60cf2f4ac9359b576c6614dbc7a 100644
--- a/Classes/CertificateManager.m
+++ b/Classes/CertificateManager.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CertificateManager.m
diff --git a/Classes/CookieTask.h b/Classes/CookieTask.h
index 02790d02c0f86423544c5b4f98776db9a6e431bb..d76e634499579de8e11e0351ba2837ebbb6393bf 100644
--- a/Classes/CookieTask.h
+++ b/Classes/CookieTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CookieTask.h
diff --git a/Classes/CookieTask.m b/Classes/CookieTask.m
index d8f69f7f4f2e37a01678e7eacaab91327dbec0af..f45c4b43735a302b22bc7a8ba8fdedee328e5c6e 100644
--- a/Classes/CookieTask.m
+++ b/Classes/CookieTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CookieTask.m
diff --git a/Classes/CustomNavigationController.h b/Classes/CustomNavigationController.h
index 57006c830b17aa49bbd93ba4b910b7ee160440ec..6d86827846df11e8624537f30d86dce5f686782f 100644
--- a/Classes/CustomNavigationController.h
+++ b/Classes/CustomNavigationController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CustomNavigationController.h
diff --git a/Classes/CustomNavigationController.m b/Classes/CustomNavigationController.m
index 62966e0811998ef2f8a708462613ccd454175af2..244a1e81a8ae71077ec24f2cf2966fc5072a6bd4 100644
--- a/Classes/CustomNavigationController.m
+++ b/Classes/CustomNavigationController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  CustomNavigationController.m
diff --git a/Classes/DER.h b/Classes/DER.h
index 149407d0ba5d965eb9f31142e8f602b4f2faa587..f9d44a9f4c309cdcb0a16d554c5249d095c5934c 100644
--- a/Classes/DER.h
+++ b/Classes/DER.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  DER.h
diff --git a/Classes/DER.m b/Classes/DER.m
index 5e9dd0feda803d19956a61b8b8b5a1be9a482221..5731aec09811c231c03090b6770777db4d8345aa 100644
--- a/Classes/DER.m
+++ b/Classes/DER.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  DER.m
diff --git a/Classes/DataboxCell.h b/Classes/DataboxCell.h
index fc721fee804d0e09c61900671b42a97667bb7bd4..e546a057067f4ff30f8c10a879961398ce6dd219 100644
--- a/Classes/DataboxCell.h
+++ b/Classes/DataboxCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  DataboxCell.h
diff --git a/Classes/DataboxCell.m b/Classes/DataboxCell.m
index 12b678e4559d4c36eb2775c7ef1b5b0457d4e15e..1bf57f73a863d0bb077d711a674aad492a2d8df8 100644
--- a/Classes/DataboxCell.m
+++ b/Classes/DataboxCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  DataboxCell.m
diff --git a/Classes/DeactivatePinViewController.h b/Classes/DeactivatePinViewController.h
index db7bd77c46345d7c581c005c38772716c5104fc2..705c2a291e06a91ab8f443d32dda4acac3323d67 100644
--- a/Classes/DeactivatePinViewController.h
+++ b/Classes/DeactivatePinViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  DeactivatePinViewController.h
diff --git a/Classes/DeactivatePinViewController.m b/Classes/DeactivatePinViewController.m
index 1a3c858165b8aabce3ecee8ca2bd3856d6a40d2a..55e946e9a29ed3d211fb2dd196d19f11d9978ca7 100644
--- a/Classes/DeactivatePinViewController.m
+++ b/Classes/DeactivatePinViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
     //
 //  DeactivatePinViewController.m
diff --git a/Classes/EditAccountViewController_iPhone.h b/Classes/EditAccountViewController_iPhone.h
index 2aacbf4cdd30b0b2fc8a0be33e2f1049eea20e87..3c70ae49ce03d56d6c82f1837d3fd46bf3dbe0ad 100644
--- a/Classes/EditAccountViewController_iPhone.h
+++ b/Classes/EditAccountViewController_iPhone.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  EditAccountViewController_iPhone.h
diff --git a/Classes/EditAccountViewController_iPhone.m b/Classes/EditAccountViewController_iPhone.m
index a48ad6abaf7374de5987ee4ef6498b37d3a6470c..0138e6ce8e1d3719aa4fa960362fb830c21406bf 100644
--- a/Classes/EditAccountViewController_iPhone.m
+++ b/Classes/EditAccountViewController_iPhone.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  EditAccountViewController_iPhone.m
diff --git a/Classes/EnvelopeData.h b/Classes/EnvelopeData.h
index 0e05c05eef0b218f69c618b55c9ff328d5baab43..c719f563ed6916ceea5dabf0344d240b5c14be2f 100644
--- a/Classes/EnvelopeData.h
+++ b/Classes/EnvelopeData.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  EnvelopeData.h
diff --git a/Classes/EnvelopeData.m b/Classes/EnvelopeData.m
index 9fa1b9a816322e58714d3553e6ea214fc16328a8..1f12b7e197de0d13b68d1c94d5526cf231ca0673 100644
--- a/Classes/EnvelopeData.m
+++ b/Classes/EnvelopeData.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  EnvelopeData.m
diff --git a/Classes/Estimate.h b/Classes/Estimate.h
index 64a7b6c452d8eb403218510d3bb4c221c37dc2fd..f7bbd6f141d89fe4df450cd3d333a89eeafa2203 100644
--- a/Classes/Estimate.h
+++ b/Classes/Estimate.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Estimate.h
diff --git a/Classes/Estimate.m b/Classes/Estimate.m
index f114f8c75b07d8ab0f48f297ddfa4663bfea67ab..e2662fbef211a797d69db976092fe6aaaebc1df3 100644
--- a/Classes/Estimate.m
+++ b/Classes/Estimate.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Estimate.m
diff --git a/Classes/Estimates.h b/Classes/Estimates.h
index d6e508b83ba59c6d24fc83adf7116b7562363d04..53ee5ce9df2be28a6d9e8b005176ee2d5f5d0f1d 100644
--- a/Classes/Estimates.h
+++ b/Classes/Estimates.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Estimates.h
diff --git a/Classes/Estimates.m b/Classes/Estimates.m
index be8e0c919840e006efcef1a8b56ea0cafc39f990..784d5ad2fdcc9b6e33ce28c043def93a1401dbdb 100644
--- a/Classes/Estimates.m
+++ b/Classes/Estimates.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Estimates.m
diff --git a/Classes/FileCell_Shared.h b/Classes/FileCell_Shared.h
index f174e741a8c57523c76c32a9ebfeb0fcd828418f..360795d05f5f501ebab7d31244f4248ef2238f04 100644
--- a/Classes/FileCell_Shared.h
+++ b/Classes/FileCell_Shared.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  FileCell_Shared.h
diff --git a/Classes/FileCell_Shared.m b/Classes/FileCell_Shared.m
index 0c6f0a8330cd691b6b02bff4ceb30a8b3b339fe1..af34adf13a311f962c7b481fadd3b346387cab3a 100644
--- a/Classes/FileCell_Shared.m
+++ b/Classes/FileCell_Shared.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  FileCell.m
diff --git a/Classes/GetListOfMessages.h b/Classes/GetListOfMessages.h
index 112f1a7d484ab9a6bbabbadf7f22c7ab7c6b5fb0..6a992eaf46d3103f8abb5f9eac977a58fc4f2475 100644
--- a/Classes/GetListOfMessages.h
+++ b/Classes/GetListOfMessages.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfMessages.h
diff --git a/Classes/GetListOfMessages.m b/Classes/GetListOfMessages.m
index 9bcf73e0331c9449a1f5b32310504a65daf442a0..e27475099bafae6f7c5d96bbfce8dfaa1b3ea3fc 100644
--- a/Classes/GetListOfMessages.m
+++ b/Classes/GetListOfMessages.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfMessages.m
diff --git a/Classes/GetListOfReceivedMessages.h b/Classes/GetListOfReceivedMessages.h
index 50b416fd843113535a1f2c5b9d24ab17df8bb75e..681c23bbfc030d20865f0efb7131c4898750acbb 100644
--- a/Classes/GetListOfReceivedMessages.h
+++ b/Classes/GetListOfReceivedMessages.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfReceivedMessages.h
diff --git a/Classes/GetListOfReceivedMessages.m b/Classes/GetListOfReceivedMessages.m
index 8245f45145d4f49354da38bb69994b952f3d5cd0..68f56cbe6ee82548178a8be9c71a2fb202435e66 100644
--- a/Classes/GetListOfReceivedMessages.m
+++ b/Classes/GetListOfReceivedMessages.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfReceivedMessages.m
diff --git a/Classes/GetListOfSentMessages.h b/Classes/GetListOfSentMessages.h
index bb888ebee54b00edc876cef92216c74446304fcd..99c503236359b272d5b29d98217f4f992e2ac8f5 100644
--- a/Classes/GetListOfSentMessages.h
+++ b/Classes/GetListOfSentMessages.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfSentMessages.h
diff --git a/Classes/GetListOfSentMessages.m b/Classes/GetListOfSentMessages.m
index 95b3aaabe2236f41b25844b324d90b06ddb666e3..575cefc0603ed3c1c6c1f1a7b5aacde27d24e9fc 100644
--- a/Classes/GetListOfSentMessages.m
+++ b/Classes/GetListOfSentMessages.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetListOfSentMessages.m
diff --git a/Classes/GetOwnerInfoFromLogin.h b/Classes/GetOwnerInfoFromLogin.h
index eca1a9233b58ad4ca1e4b836810b7c13c1a78b5f..0d61ae90fbc9772b10990e6995d4ed3f690ce7e5 100644
--- a/Classes/GetOwnerInfoFromLogin.h
+++ b/Classes/GetOwnerInfoFromLogin.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetOwnerInfoFromLogin.h
diff --git a/Classes/GetOwnerInfoFromLogin.m b/Classes/GetOwnerInfoFromLogin.m
index cb9738b2437019ada78bb00301c8ffb396e75f3c..6132a7322782b3e55ad349f710838bf3334b054e 100644
--- a/Classes/GetOwnerInfoFromLogin.m
+++ b/Classes/GetOwnerInfoFromLogin.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  GetOwnerInfoFromLogin.m
diff --git a/Classes/HotpCookieTask.h b/Classes/HotpCookieTask.h
index 89aeefa9960c6b6df450259429b9ab948ebef870..4db80ffb5ecff34c28ab913a2234f38e478733a6 100644
--- a/Classes/HotpCookieTask.h
+++ b/Classes/HotpCookieTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  HotpCookieTask.h
diff --git a/Classes/HotpCookieTask.m b/Classes/HotpCookieTask.m
index c61fdb34262ab610030378458b3cd7dc3a05382b..2810cbe573f5aaf5e8b14cea825ee8e64b6c7501 100644
--- a/Classes/HotpCookieTask.m
+++ b/Classes/HotpCookieTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  HotpCookieTask.m
diff --git a/Classes/ISDSAccount.h b/Classes/ISDSAccount.h
index dc50a341e43869c83bcb70436ff34c46171b8b93..fd501ba3ae26db44d8e12844b808666513834213 100644
--- a/Classes/ISDSAccount.h
+++ b/Classes/ISDSAccount.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSAccount.h
diff --git a/Classes/ISDSAccount.m b/Classes/ISDSAccount.m
index 5d9d711abe3bab53e9105e60445036fb1720915c..d3934b567cb16c507f11c8686f1c6392fc9dc823 100644
--- a/Classes/ISDSAccount.m
+++ b/Classes/ISDSAccount.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSAccount.m
diff --git a/Classes/ISDSAppDelegate_Shared.h b/Classes/ISDSAppDelegate_Shared.h
index 506ad75d678ee9585fd96533727b07b9fe5c8de7..0fb36fdc195be55de2bac45baba1b14662c66a33 100644
--- a/Classes/ISDSAppDelegate_Shared.h
+++ b/Classes/ISDSAppDelegate_Shared.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSAppDelegate.h
diff --git a/Classes/ISDSAppDelegate_Shared.m b/Classes/ISDSAppDelegate_Shared.m
index 54b86973b75fb3cf1932c24279c84da4b4bb205a..8c5107d64e52752326b1f80cadea5563cda19f54 100644
--- a/Classes/ISDSAppDelegate_Shared.m
+++ b/Classes/ISDSAppDelegate_Shared.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSAppDelegate.m
diff --git a/Classes/ISDSDefaults.h b/Classes/ISDSDefaults.h
index 1bc10052d3a6ae00350763a99590a62e0e1d9bc9..71c0f0fbb73d276de4a54691565198c06bc24a11 100644
--- a/Classes/ISDSDefaults.h
+++ b/Classes/ISDSDefaults.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSDefaults.h
diff --git a/Classes/ISDSDefaults.m b/Classes/ISDSDefaults.m
index 8bdc95509e706079d4699be9bf5c4c02315e8e27..474ae7cb7f0e572b2e52402de65e3f2fa3e0a4ea 100644
--- a/Classes/ISDSDefaults.m
+++ b/Classes/ISDSDefaults.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSDefaults.m
diff --git a/Classes/ISDSMessage.h b/Classes/ISDSMessage.h
index 3c79f62dff729a7a779c752ef2da513e843c5731..40c952a33ca117967d2b55cb7f032f1bb756bb2d 100644
--- a/Classes/ISDSMessage.h
+++ b/Classes/ISDSMessage.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Message.h
diff --git a/Classes/ISDSMessage.m b/Classes/ISDSMessage.m
index e1fd08cd27b685f05ff23f51ef6a5a1e0141309d..da4435aa9dce8e5571f631a8c6c61eeff08073f4 100644
--- a/Classes/ISDSMessage.m
+++ b/Classes/ISDSMessage.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  Message.m
diff --git a/Classes/ISDSObject.h b/Classes/ISDSObject.h
index c996c2ace1eebdf6ed3bdd1dfffa95e6d636eabd..d6c81426891a031a9fec301f218a538b9f055385 100644
--- a/Classes/ISDSObject.h
+++ b/Classes/ISDSObject.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSObject.h
diff --git a/Classes/ISDSObject.m b/Classes/ISDSObject.m
index 739db30b6a764d1737f0b457dbb20bd13f9b2777..6f59f034b444f66fc372d4c08c11364b94d04435 100644
--- a/Classes/ISDSObject.m
+++ b/Classes/ISDSObject.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSObject.m
diff --git a/Classes/ISDSTask.h b/Classes/ISDSTask.h
index 0848c4029d78ba9f1791d2a2adbe9ad32a545931..9720b5b68c57d525267ecac5853fe49f28f11c6d 100644
--- a/Classes/ISDSTask.h
+++ b/Classes/ISDSTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSConnection.h
diff --git a/Classes/ISDSTask.m b/Classes/ISDSTask.m
index aa4b926ed971620047db802c62f4610d717fd96e..8b47ef0235ce645c9ebbf3452ba030b7bc80b4e4 100644
--- a/Classes/ISDSTask.m
+++ b/Classes/ISDSTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSConnection.m
diff --git a/Classes/InboxViewController.h b/Classes/InboxViewController.h
index 61ff44217c3f62fbcec94986559b143f8b86cc20..3c576669d72faeefe71071b95964ab561041aaf3 100644
--- a/Classes/InboxViewController.h
+++ b/Classes/InboxViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  InboxViewController.h
diff --git a/Classes/InboxViewController.m b/Classes/InboxViewController.m
index 4b798731c63c65672fba9d01377ebfa03e4d4b21..9813b1672525d3f3f94b3f30c459215a106a60e5 100644
--- a/Classes/InboxViewController.m
+++ b/Classes/InboxViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  InboxViewController.m
diff --git a/Classes/MessageDownload.h b/Classes/MessageDownload.h
index e045163ed86446dbb5ed647f24a1f9c839b6b12e..179d857ad84123a625fe4986be094695030f50b9 100644
--- a/Classes/MessageDownload.h
+++ b/Classes/MessageDownload.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MessageDownload.h
diff --git a/Classes/MessageDownload.m b/Classes/MessageDownload.m
index a25f690a3a1a3a2cb77322644a2e1463a8344119..280b128717deccea113db07f9e17bed7059432fe 100644
--- a/Classes/MessageDownload.m
+++ b/Classes/MessageDownload.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MessageDownload.m
diff --git a/Classes/MsgCell.h b/Classes/MsgCell.h
index 984cae73fbcf3a9f2237de4eb31efd163f683d40..4a0f09b0f99bc1261b87b24b65762706786214c8 100644
--- a/Classes/MsgCell.h
+++ b/Classes/MsgCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgCell.h
diff --git a/Classes/MsgCell.m b/Classes/MsgCell.m
index 8f27621125f23c7dfc66b8fa502143a956696ebc..06bfd839343604f6d0274e7378695f62df48dced 100644
--- a/Classes/MsgCell.m
+++ b/Classes/MsgCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgCell.m
diff --git a/Classes/MsgDownloadCell.h b/Classes/MsgDownloadCell.h
index ddfef8c4c0bd56f106f61ccadefa6526130b64e7..0f2beb00272d72d404549efa64e8e4469023069d 100644
--- a/Classes/MsgDownloadCell.h
+++ b/Classes/MsgDownloadCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgDownloadCell.h
diff --git a/Classes/MsgDownloadCell.m b/Classes/MsgDownloadCell.m
index 4dcc60c9404804bdaa10f64b35187efccfa790d5..523b32f46f43d255e53e5ffa7fd2c5b8b4247cbd 100644
--- a/Classes/MsgDownloadCell.m
+++ b/Classes/MsgDownloadCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgDownloadCell.m
diff --git a/Classes/MsgList.h b/Classes/MsgList.h
index da952f2cbba3aec02cdc095aca0a3c5f69439d7e..314eccf160d2eceb463e276f020a4f24ca3a33a9 100644
--- a/Classes/MsgList.h
+++ b/Classes/MsgList.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgList.h
diff --git a/Classes/MsgList.m b/Classes/MsgList.m
index 46e366b3b77193364ca4695994d13fd04f72c6eb..d71eac013339f1a0a3f967b843b1e8479257701a 100644
--- a/Classes/MsgList.m
+++ b/Classes/MsgList.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MsgList.m
diff --git a/Classes/NetworkUpdater.h b/Classes/NetworkUpdater.h
index 629bbabe07d2e2e89f2c50b0a1a946f6cbcd6064..8950186fa2f5dc23809808ccab9670031548b1a9 100644
--- a/Classes/NetworkUpdater.h
+++ b/Classes/NetworkUpdater.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  NetworkUpdater.h
diff --git a/Classes/NetworkUpdater.m b/Classes/NetworkUpdater.m
index e611ba4bcd4391bcf83ff2ba533e93692a617a3a..83a0f39c7c7754c596050106591ab2479b31fb6e 100644
--- a/Classes/NetworkUpdater.m
+++ b/Classes/NetworkUpdater.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  NetworkUpdater.m
diff --git a/Classes/NoFilesCell.h b/Classes/NoFilesCell.h
index 21b590c088a374bf2f71d3bd0f12aa5a89b59c68..5e6c382acb8af8c372f49e7f47f9600f9c746931 100644
--- a/Classes/NoFilesCell.h
+++ b/Classes/NoFilesCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  NoFilesCell.h
diff --git a/Classes/NoFilesCell.m b/Classes/NoFilesCell.m
index ecda63ac7c4be3daa5961822ffe1ffa39a6a6f37..3c29b267d1953089534136643d44cc4b70f39cfe 100644
--- a/Classes/NoFilesCell.m
+++ b/Classes/NoFilesCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  NoFilesCell.m
diff --git a/Classes/OtpStatus.h b/Classes/OtpStatus.h
index 578892ae0e8bf51239d2bfa48e85638e8575853e..bbeea985224014093cf79965cb61e867b1185f6f 100644
--- a/Classes/OtpStatus.h
+++ b/Classes/OtpStatus.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OtpStatus.h
diff --git a/Classes/OtpStatus.m b/Classes/OtpStatus.m
index 3b0946258c9e94a2531fffbc35495337f85cdb6f..c243420a6fd1c2d84b63e81613655f5968da1ade 100644
--- a/Classes/OtpStatus.m
+++ b/Classes/OtpStatus.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OtpStatus.m
diff --git a/Classes/OtpTask.h b/Classes/OtpTask.h
index 970c082b6a78a3f4787dc03bb789545a302b1f4a..016d553e5902d3f9865b0d56deb91e7fbf23edda 100644
--- a/Classes/OtpTask.h
+++ b/Classes/OtpTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OtpConnection.h
diff --git a/Classes/OtpTask.m b/Classes/OtpTask.m
index f54ab4dfe94643898789bdd83da93a2d9f8dca1f..e3418180096a7becaaae21a651326d5bccac86bc 100644
--- a/Classes/OtpTask.m
+++ b/Classes/OtpTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OtpTask.m
diff --git a/Classes/OutboxViewController.h b/Classes/OutboxViewController.h
index d948b8bac55d61be36a58e42099a21bfe707a3df..62f0b2430c11c08ab17df5179b20d0ca9a0e58de 100644
--- a/Classes/OutboxViewController.h
+++ b/Classes/OutboxViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OutboxViewController.h
diff --git a/Classes/OutboxViewController.m b/Classes/OutboxViewController.m
index 68190f3acf5a24c993c52b00e19b180fc5ba1a50..4b43d532497a9c7c9d30df4771f3000b431a2c49 100644
--- a/Classes/OutboxViewController.m
+++ b/Classes/OutboxViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OutboxViewController.m
diff --git a/Classes/OwnerInfo.h b/Classes/OwnerInfo.h
index 0a714c6d43f32d90f27c3ef1f885000c1015a909..31aa77a5a2569f4569c2e28dbd60f3ff2bfd91db 100644
--- a/Classes/OwnerInfo.h
+++ b/Classes/OwnerInfo.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OwnerInfo.h
diff --git a/Classes/OwnerInfo.m b/Classes/OwnerInfo.m
index 587f5ac7bcd9eeffb326f377035572ba391f5def..b3b14e7dcd98d1f13adbaddd4a7824856e35f67f 100644
--- a/Classes/OwnerInfo.m
+++ b/Classes/OwnerInfo.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  OwnerInfo.m
diff --git a/Classes/PinEditViewController.h b/Classes/PinEditViewController.h
index 43c5394a3a45c4bc2ac58370ad29a71029899f44..e7a38b8e63b60480b16e39841aca533e1843d72b 100644
--- a/Classes/PinEditViewController.h
+++ b/Classes/PinEditViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  PinEditViewController.h
diff --git a/Classes/PinEditViewController.m b/Classes/PinEditViewController.m
index cad0bc1b660a4b44bad8cd9d97c57ba1a8dc684c..c72804896a2f4e1c5dd26583da8522de5d3480e6 100644
--- a/Classes/PinEditViewController.m
+++ b/Classes/PinEditViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  PinEditViewController.m
diff --git a/Classes/PinViewController_Shared.h b/Classes/PinViewController_Shared.h
index 39e2e8b26615f3aaa1b3ad6c69b27a5a74434b54..0dd0a3ed262910c9c80ab74cf14046ff96bebcae 100644
--- a/Classes/PinViewController_Shared.h
+++ b/Classes/PinViewController_Shared.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  PinViewController_Shared.h
diff --git a/Classes/PinViewController_Shared.m b/Classes/PinViewController_Shared.m
index 4617670b73defcec7e9ec8cd6ed9404d46b42ddf..9ef37b64ffc6c4fa041162787c1e9cb1d2f0d98f 100644
--- a/Classes/PinViewController_Shared.m
+++ b/Classes/PinViewController_Shared.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  PINViewController_Shared.m
diff --git a/Classes/ProgressToolbar.h b/Classes/ProgressToolbar.h
index 8d01c4471f53e4f5a87ef4c5c585408bade9d019..4d088c01d665c4bc36948b3a3346f3308672e231 100644
--- a/Classes/ProgressToolbar.h
+++ b/Classes/ProgressToolbar.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ProgressToolbar.h
diff --git a/Classes/ProgressToolbar.m b/Classes/ProgressToolbar.m
index d9a1d9532c8491515d714c32e808c0409ebd2566..50fc698c1ec3c267a0d7b442f38e733b7074de87 100644
--- a/Classes/ProgressToolbar.m
+++ b/Classes/ProgressToolbar.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ProgressToolbar.m
diff --git a/Classes/ProgressViewController.h b/Classes/ProgressViewController.h
index dacd606c01ce91ca997d83a6f0298314c361a367..8d041932e3236315adaf3fac8ac91ceff2d90dc4 100644
--- a/Classes/ProgressViewController.h
+++ b/Classes/ProgressViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ProgressViewController.h
diff --git a/Classes/ProgressViewController.m b/Classes/ProgressViewController.m
index 2507f8678e989d4f0f36e50564c6aed0ce49f642..058331194a4615ddf38603d358664a80c281fddc 100644
--- a/Classes/ProgressViewController.m
+++ b/Classes/ProgressViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ProgressViewController.m
diff --git a/Classes/ReceivedMessageDownload.h b/Classes/ReceivedMessageDownload.h
index 90e121a73ee2d330a2367ab055babd93c0a49e99..dc399c89572bec20f5ccbdd58b46e1f6893cdb04 100644
--- a/Classes/ReceivedMessageDownload.h
+++ b/Classes/ReceivedMessageDownload.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ReceivedMessageDownload.h
diff --git a/Classes/ReceivedMessageDownload.m b/Classes/ReceivedMessageDownload.m
index a6ddf4e8def89f40db89b912b84d978be5a45011..4c976d871d3445da8ab4f1a2a880cf08d10a9ad7 100644
--- a/Classes/ReceivedMessageDownload.m
+++ b/Classes/ReceivedMessageDownload.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ReceivedMessageDownload.m
diff --git a/Classes/RequestManager.h b/Classes/RequestManager.h
index 856d32a883b3c83a5f2927cff7ddbaa1731e9acb..450aa4084139467a9d2ea7722527e948808cc9ab 100644
--- a/Classes/RequestManager.h
+++ b/Classes/RequestManager.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RequestManager.h
diff --git a/Classes/RequestManager.m b/Classes/RequestManager.m
index 75fe6c9d606d1b7543f12560daedc85aa5ad6382..2efe7398463976ff102d84889e37ed36307fe916 100644
--- a/Classes/RequestManager.m
+++ b/Classes/RequestManager.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RequestManager.m
diff --git a/Classes/RootViewController_Shared.h b/Classes/RootViewController_Shared.h
index e001befdfa7523c7d982842f8e73b0e596cc6e4d..713ed11f7d89246fd88058d56d80e5e6d5223cb0 100644
--- a/Classes/RootViewController_Shared.h
+++ b/Classes/RootViewController_Shared.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RootViewController_Shared.h
diff --git a/Classes/RootViewController_Shared.m b/Classes/RootViewController_Shared.m
index defdb4aec6eff337808689bba93b6a21b52d8d11..d4c4c9c59b5c05f21517b1ab246d6b0572e5a67b 100644
--- a/Classes/RootViewController_Shared.m
+++ b/Classes/RootViewController_Shared.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RootViewController_Shared.m
diff --git a/Classes/RootViewController_iPhone.h b/Classes/RootViewController_iPhone.h
index 722bd86f9d6c0700ec25d0e5cb682897ecfbb7ce..87cebe3bd3d34d4feacfbf28161e6af318c27387 100644
--- a/Classes/RootViewController_iPhone.h
+++ b/Classes/RootViewController_iPhone.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RootViewController.h
diff --git a/Classes/RootViewController_iPhone.m b/Classes/RootViewController_iPhone.m
index 3b58b1188414bd0b3e9a3fc34ec8d5bfd2662eec..fb68f1c5d43c3e77a58c87dbed3324a37bad7f28 100644
--- a/Classes/RootViewController_iPhone.m
+++ b/Classes/RootViewController_iPhone.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  RootViewController.m
diff --git a/Classes/SOAPTask.h b/Classes/SOAPTask.h
index 3407920e5a88320519ba28c4681cb15dc6f9d205..8e01989868f7a6ba2b204b9214abdf6b5dcca411 100644
--- a/Classes/SOAPTask.h
+++ b/Classes/SOAPTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSConnection.h
diff --git a/Classes/SOAPTask.m b/Classes/SOAPTask.m
index 6a1b749e034b7d2f48909a6c90b77da14fccd25c..81ae4baf41335fa82077910dfda2c8728ad63811 100644
--- a/Classes/SOAPTask.m
+++ b/Classes/SOAPTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  ISDSConnection.m
diff --git a/Classes/SentMessageDownload.h b/Classes/SentMessageDownload.h
index 91c8b9f42a6e7b6ce1ca5c52aad030519de751e1..9328183a74e7a1307567fc69e3b30a8b26aa1ede 100644
--- a/Classes/SentMessageDownload.h
+++ b/Classes/SentMessageDownload.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MessageDownload.h
diff --git a/Classes/SentMessageDownload.m b/Classes/SentMessageDownload.m
index 0406510a457cb88a8c0d14b576ca797ff81566b4..ead84edf3cf4dadf9429d4d2f4b5fd9e720446d7 100644
--- a/Classes/SentMessageDownload.m
+++ b/Classes/SentMessageDownload.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SentMessageDownload.m
diff --git a/Classes/SettingsViewController_Shared.h b/Classes/SettingsViewController_Shared.h
index 325647df667617ee9d9f41ea7cd97529d94c0944..2cf0834ec42bb2316250c50514a7bdea1783bf39 100644
--- a/Classes/SettingsViewController_Shared.h
+++ b/Classes/SettingsViewController_Shared.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SettingsViewController.h
diff --git a/Classes/SettingsViewController_Shared.m b/Classes/SettingsViewController_Shared.m
index 559219daeedf877336a47e29c8d1eeefc912ccee..28c3e8fadfefea7e478481036f7b0387a4bacdc2 100644
--- a/Classes/SettingsViewController_Shared.m
+++ b/Classes/SettingsViewController_Shared.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SettingsViewController.m
diff --git a/Classes/SignedSentMessageDownload.h b/Classes/SignedSentMessageDownload.h
index e70a2c32995a002c7d3f9a24ab6e79b7dc979c56..4ae9b5bc64a88d2931df7ff0e38e68c61374b552 100644
--- a/Classes/SignedSentMessageDownload.h
+++ b/Classes/SignedSentMessageDownload.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SignedSentMessageDownload.h
diff --git a/Classes/SignedSentMessageDownload.m b/Classes/SignedSentMessageDownload.m
index f34c0d22a769b9f9ea470e6aa95e7891888462f5..d4c5dce25dd9bb27d10f080cba3b6adb04536d4b 100644
--- a/Classes/SignedSentMessageDownload.m
+++ b/Classes/SignedSentMessageDownload.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SignedSentMessageDownload.m
diff --git a/Classes/SmsTask.h b/Classes/SmsTask.h
index e3a679c08ae52309354a07d892d5ca50b6d077c2..1147138c5e4f0ea9e59de32f872a4ca1bd670dde 100644
--- a/Classes/SmsTask.h
+++ b/Classes/SmsTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SmsTask.h
diff --git a/Classes/SmsTask.m b/Classes/SmsTask.m
index 91c57e57931f00d6460f754003568965f4019e10..67fee66a48301b5c3b429f8e072e8a01d179aca4 100644
--- a/Classes/SmsTask.m
+++ b/Classes/SmsTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SmsTask.m
diff --git a/Classes/SoapMethod.h b/Classes/SoapMethod.h
index 724d338639e62d6894f40acf16041bbed859ecb5..df0890144602b01da826ed707dc8d8e14346fdd7 100644
--- a/Classes/SoapMethod.h
+++ b/Classes/SoapMethod.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SoapMethod.h
diff --git a/Classes/SoapMethod.m b/Classes/SoapMethod.m
index 19f3641aeb6b25c55381fc395849121b5a598bd2..2281f6f69318af7dc50e799c5f84a50bccecab8a 100644
--- a/Classes/SoapMethod.m
+++ b/Classes/SoapMethod.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SoapMethod.m
diff --git a/Classes/SwitchCell.h b/Classes/SwitchCell.h
index 76513c699136aaf3052a058d717f2d48795228b1..0fe1f91ae19f0224cda49a9c0865f85ea73d04cf 100644
--- a/Classes/SwitchCell.h
+++ b/Classes/SwitchCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SwitchCell.h
diff --git a/Classes/SwitchCell.m b/Classes/SwitchCell.m
index 5c878f0692b2e3881ebf5259d9d73c242b7ff664..9b3d5675c379de6005b2572ac236ab72cf46f3fd 100644
--- a/Classes/SwitchCell.m
+++ b/Classes/SwitchCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  SwitchCell.m
diff --git a/Classes/TaskObserver.h b/Classes/TaskObserver.h
index 3646761da46967f0bfd1f4e362700f871e0c6062..6aae2b8c15cd917b62448e7188b9da2598ff19b0 100644
--- a/Classes/TaskObserver.h
+++ b/Classes/TaskObserver.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TaskObserver.h
diff --git a/Classes/TaskObserver.m b/Classes/TaskObserver.m
index 46e0b86dd8f5fd53444acfdaf0e4687fb977fe64..1d8b2a2375a12ff156a49cc2ceba6b36b68f4c1c 100644
--- a/Classes/TaskObserver.m
+++ b/Classes/TaskObserver.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TaskObserver.m
diff --git a/Classes/TokenCell.h b/Classes/TokenCell.h
index 6f91479e611be267b78af0bf5374909d0a3fbbde..8cf5b6a85554be986b8c89a5212db0a19a09e046 100644
--- a/Classes/TokenCell.h
+++ b/Classes/TokenCell.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TokenCell.h
diff --git a/Classes/TokenCell.m b/Classes/TokenCell.m
index 3cd3d066e09ff76ec03ac653313e693872f5d225..08adfb9fac13294957ccdb965260d0e5c139e816 100644
--- a/Classes/TokenCell.m
+++ b/Classes/TokenCell.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TokenCell.m
diff --git a/Classes/TokenViewController.h b/Classes/TokenViewController.h
index 06796d0c36056a3e9d4b83f3c724df8312f630f2..80ca9e95fd3a8c920580067d3aafea6dee044efc 100644
--- a/Classes/TokenViewController.h
+++ b/Classes/TokenViewController.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TokenViewController.h
diff --git a/Classes/TokenViewController.m b/Classes/TokenViewController.m
index 7a066d81f5d5935c6c77f59eb806d78d54178eea..9932602627049200793d8de91610a859d2874f1b 100644
--- a/Classes/TokenViewController.m
+++ b/Classes/TokenViewController.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TokenViewController.m
diff --git a/Classes/TotpCookieTask.h b/Classes/TotpCookieTask.h
index 782af4f990b8c96ca74312ccfd2125e3dd1221eb..02ce0771a6194b1db2b23d1c98f428dda4245180 100644
--- a/Classes/TotpCookieTask.h
+++ b/Classes/TotpCookieTask.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TotpCookieTask.h
diff --git a/Classes/TotpCookieTask.m b/Classes/TotpCookieTask.m
index a13940a4f7f137647c2c5feb8d92406809fb28ee..c1c83528f47d7b65af91c962b066737905c2a34b 100644
--- a/Classes/TotpCookieTask.m
+++ b/Classes/TotpCookieTask.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  TotpCookieTask.m
diff --git a/Classes/XMLAcceptanceTimeElement.h b/Classes/XMLAcceptanceTimeElement.h
index 389ad441c78640d0a2a15674ac7a709acee9da18..a4e331773332576ee8195d9d5a5149f1fa43454e 100644
--- a/Classes/XMLAcceptanceTimeElement.h
+++ b/Classes/XMLAcceptanceTimeElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLAcceptanceTime.h
diff --git a/Classes/XMLAcceptanceTimeElement.m b/Classes/XMLAcceptanceTimeElement.m
index 2efffa63f28538c5d2547bc27cc631e1193a0b2f..a249c6df4bfa73f29538b5e8e368d65cc1b492a6 100644
--- a/Classes/XMLAcceptanceTimeElement.m
+++ b/Classes/XMLAcceptanceTimeElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLAcceptanceTime.m
diff --git a/Classes/XMLAccumulatorElement.h b/Classes/XMLAccumulatorElement.h
index ee322d14241e8f8d6cc891b979aedb21fd7d8d44..1eb159564019c84210e3b68100014f59f11bd893 100644
--- a/Classes/XMLAccumulatorElement.h
+++ b/Classes/XMLAccumulatorElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLAccumulatorElement.h
diff --git a/Classes/XMLAccumulatorElement.m b/Classes/XMLAccumulatorElement.m
index 22b73b6b1ea87a37a13034c2024b720d53b73cc9..07a23e5151cd6a0b51259fe20ef7b0f41d248edb 100644
--- a/Classes/XMLAccumulatorElement.m
+++ b/Classes/XMLAccumulatorElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLAccumulatorElement.m
diff --git a/Classes/XMLBodyElement.h b/Classes/XMLBodyElement.h
index 26efa2e316dc2c4f0de43ffd42592176eeddd1d5..81054cfdc401f6d67aed64d4a5369efa512bfa3d 100644
--- a/Classes/XMLBodyElement.h
+++ b/Classes/XMLBodyElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLBodyElement.h
diff --git a/Classes/XMLBodyElement.m b/Classes/XMLBodyElement.m
index ea4514eaaad29286cc805e3fe195edc39610df92..b65fa08c9f7eff159be5d8d6f3f88789892d1016 100644
--- a/Classes/XMLBodyElement.m
+++ b/Classes/XMLBodyElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLBodyElement.m
diff --git a/Classes/XMLDbStatusCodeElement.h b/Classes/XMLDbStatusCodeElement.h
index 048f1280c4e8874dbf1ed636c32108197234f581..e4c06bb108f207646574f8d945e8d0d4f552d68e 100644
--- a/Classes/XMLDbStatusCodeElement.h
+++ b/Classes/XMLDbStatusCodeElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusCodeElement.h
diff --git a/Classes/XMLDbStatusCodeElement.m b/Classes/XMLDbStatusCodeElement.m
index 9bc6e98abf886b21f92c0a2a7c9afde897e295d5..5e5212e2930dba485f7678239d1bb80840c75dea 100644
--- a/Classes/XMLDbStatusCodeElement.m
+++ b/Classes/XMLDbStatusCodeElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusCodeElement.m
diff --git a/Classes/XMLDbStatusElement.h b/Classes/XMLDbStatusElement.h
index c665bf8c2785e681bfba9c594252087c6adb64b4..50bd810b8e8633822fb423216b4638371401962a 100644
--- a/Classes/XMLDbStatusElement.h
+++ b/Classes/XMLDbStatusElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusElement.h
diff --git a/Classes/XMLDbStatusElement.m b/Classes/XMLDbStatusElement.m
index 3bae629e7105bb1ff2fcad3c3d7f257772df2c6f..260057a1b1934412516320b419f5dcb3cef5b8c6 100644
--- a/Classes/XMLDbStatusElement.m
+++ b/Classes/XMLDbStatusElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusElement.m
diff --git a/Classes/XMLDbStatusMessageElement.h b/Classes/XMLDbStatusMessageElement.h
index 820a89b6699a4ac85f0365763e2794638bf8ec95..10f2dc6fc28098b1aaf600aa7d8cd23b1aa5718b 100644
--- a/Classes/XMLDbStatusMessageElement.h
+++ b/Classes/XMLDbStatusMessageElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusMessageElement.h
diff --git a/Classes/XMLDbStatusMessageElement.m b/Classes/XMLDbStatusMessageElement.m
index 683ba4317ad0e3c9e6e5dd0d7e681941a6e41ea4..f837cc3d8c79527e5abf6fcf03c297aea41b9a72 100644
--- a/Classes/XMLDbStatusMessageElement.m
+++ b/Classes/XMLDbStatusMessageElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDbStatusMessageElement.m
diff --git a/Classes/XMLDmElement.h b/Classes/XMLDmElement.h
index 309c2ace21671310036739962afa39b20a710f5d..88a59be78badac9d6a991415ee5253072afeefce 100644
--- a/Classes/XMLDmElement.h
+++ b/Classes/XMLDmElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmElement.h
diff --git a/Classes/XMLDmElement.m b/Classes/XMLDmElement.m
index d16e8cbd0b5bab593c84bddad36ea4f13cf1bd64..c986c12c07860497c595bea1a35d3d2abc6bc0a4 100644
--- a/Classes/XMLDmElement.m
+++ b/Classes/XMLDmElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmElement.m
diff --git a/Classes/XMLDmRecordElement.h b/Classes/XMLDmRecordElement.h
index 0d0ab6bd023e36f1d2a39ab5b061c316cbb4f7e6..a47736961c58b2f524c5f0add7cf4bd0bf720679 100644
--- a/Classes/XMLDmRecordElement.h
+++ b/Classes/XMLDmRecordElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmRecordElement.h
diff --git a/Classes/XMLDmRecordElement.m b/Classes/XMLDmRecordElement.m
index 43bb7c7abae9b454e5b00cdbcd3292721a643a35..59cb258fc8fe86346aaa60174b70b9bbb2b13f9a 100644
--- a/Classes/XMLDmRecordElement.m
+++ b/Classes/XMLDmRecordElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmRecordElement.m
diff --git a/Classes/XMLDmRecordsElement.h b/Classes/XMLDmRecordsElement.h
index 44b4bc14e4f90e1c586699809b39cb8c83414a1a..25d8574b79dcb0d2ae8e535c1a31f4ea6fc3cf6f 100644
--- a/Classes/XMLDmRecordsElement.h
+++ b/Classes/XMLDmRecordsElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmRecordsElement.h
diff --git a/Classes/XMLDmRecordsElement.m b/Classes/XMLDmRecordsElement.m
index 74fa1e80bf1887f14b7377718bb552d9c1b839cc..10f3b8fe3a387ae501592013074a3087f3d5643b 100644
--- a/Classes/XMLDmRecordsElement.m
+++ b/Classes/XMLDmRecordsElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmRecordsElement.m
diff --git a/Classes/XMLDmStatusCodeElement.h b/Classes/XMLDmStatusCodeElement.h
index 1d4ed8f7c08993a5870ad3c3ef83fce3457f084e..c8aa743adcdb3dd736254a6462fca10fa0dafc4f 100644
--- a/Classes/XMLDmStatusCodeElement.h
+++ b/Classes/XMLDmStatusCodeElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusCodeElement.h
diff --git a/Classes/XMLDmStatusCodeElement.m b/Classes/XMLDmStatusCodeElement.m
index 91a8ae41f9e8a4ae4d1761158dd4348528cc202d..bbeaa237df073c29a889d7f5b29523a17f2ed732 100644
--- a/Classes/XMLDmStatusCodeElement.m
+++ b/Classes/XMLDmStatusCodeElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusCodeElement.m
diff --git a/Classes/XMLDmStatusElement.h b/Classes/XMLDmStatusElement.h
index 5f6befea3dd2950fa3f842269fc318de5b1dae6c..43ce14eb89b96d8b9b366a32a6c0622e9881ef66 100644
--- a/Classes/XMLDmStatusElement.h
+++ b/Classes/XMLDmStatusElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusElement.h
diff --git a/Classes/XMLDmStatusElement.m b/Classes/XMLDmStatusElement.m
index ab1b281a6108f01eecb247da60923345e48007c7..29013543a83d4388267bedd062d862f48f1b027c 100644
--- a/Classes/XMLDmStatusElement.m
+++ b/Classes/XMLDmStatusElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusElement.m
diff --git a/Classes/XMLDmStatusMessageElement.h b/Classes/XMLDmStatusMessageElement.h
index 2e940358a1fe10d4c75f976e5055423fa2ea9e5a..7c5f605fadcd701d2e6c6d855ebcb0257622ae40 100644
--- a/Classes/XMLDmStatusMessageElement.h
+++ b/Classes/XMLDmStatusMessageElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusMessageElement.h
diff --git a/Classes/XMLDmStatusMessageElement.m b/Classes/XMLDmStatusMessageElement.m
index bf67b5bc774a0146f3b5a5b082af5089664a099d..757b83b193717901e88c188d46ac2f55d3a096da 100644
--- a/Classes/XMLDmStatusMessageElement.m
+++ b/Classes/XMLDmStatusMessageElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLDmStatusDescriptionMessage.m
diff --git a/Classes/XMLElement.h b/Classes/XMLElement.h
index d754164f5709c8beb2210ed0d508d28f215c4788..62b0f19164b2930d869003dbf518405b1ab2b442 100644
--- a/Classes/XMLElement.h
+++ b/Classes/XMLElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLElement.h
diff --git a/Classes/XMLElement.m b/Classes/XMLElement.m
index dcd6e5478b26d66f769d543f75eab48432db277d..15c6446f306b565d4855ff5ed65cf857f11f7934 100644
--- a/Classes/XMLElement.m
+++ b/Classes/XMLElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLElement.m
diff --git a/Classes/XMLEncodedContentElement.h b/Classes/XMLEncodedContentElement.h
index 3422cab0faf8cfd5a8e035de2e88762667b23917..a35ffed7edf5d075add87bf6d08518e21583d610 100644
--- a/Classes/XMLEncodedContentElement.h
+++ b/Classes/XMLEncodedContentElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLEncodedContentElement.h
diff --git a/Classes/XMLEncodedContentElement.m b/Classes/XMLEncodedContentElement.m
index b74bc7af61dac014c5df8917d297a42b1dc65921..664ae1dc7ed7199a5120b419597df8c1747adbf6 100644
--- a/Classes/XMLEncodedContentElement.m
+++ b/Classes/XMLEncodedContentElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLEncodedContentElement.m
diff --git a/Classes/XMLFileElement.h b/Classes/XMLFileElement.h
index 6f4f7b43a8a89eeeb5535fb790bb4ad2b752eec3..40bd4c4bb7ad245db18f1a1e6156361b16e1e60d 100644
--- a/Classes/XMLFileElement.h
+++ b/Classes/XMLFileElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLFileElement.h
diff --git a/Classes/XMLFileElement.m b/Classes/XMLFileElement.m
index c3229b0c8a0431ab8ad55b4587c1fe9da51114c9..4c6605dd2261f7873f243108e7fd0917e7a7b50b 100644
--- a/Classes/XMLFileElement.m
+++ b/Classes/XMLFileElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLFileElement.m
diff --git a/Classes/XMLFilesElement.h b/Classes/XMLFilesElement.h
index 304a80df507c396d5aa5a9aa364a19f2d8062405..e051ae83a39c891d383c921319788db5541ffeb3 100644
--- a/Classes/XMLFilesElement.h
+++ b/Classes/XMLFilesElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLFilesElement.h
diff --git a/Classes/XMLFilesElement.m b/Classes/XMLFilesElement.m
index a01bb1a8ac0ab587dac71c5c30086b4eb26f9a55..a7c8aac3b57fa741684d8d71cd2a1be51e22ff9f 100644
--- a/Classes/XMLFilesElement.m
+++ b/Classes/XMLFilesElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLFilesElement.m
diff --git a/Classes/XMLGetListOfReceivedMessagesResponseElement.h b/Classes/XMLGetListOfReceivedMessagesResponseElement.h
index 6ee7bb967b0080d645eed1d6820a7843f984d53e..f30d9cd40daadd7659fbd68f183cb4d6e13a0eba 100644
--- a/Classes/XMLGetListOfReceivedMessagesResponseElement.h
+++ b/Classes/XMLGetListOfReceivedMessagesResponseElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetListOfReceivedMessagesResponseElement.h
diff --git a/Classes/XMLGetListOfReceivedMessagesResponseElement.m b/Classes/XMLGetListOfReceivedMessagesResponseElement.m
index 675552d1a4bfbc1c9be4e3ba9f17a4b47ba40713..44eb7e054183e3c318ae6a795ca447592a2e268d 100644
--- a/Classes/XMLGetListOfReceivedMessagesResponseElement.m
+++ b/Classes/XMLGetListOfReceivedMessagesResponseElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetListOfReceivedMessagesResponseElement.m
diff --git a/Classes/XMLGetListOfSentMessagesResponseElement.h b/Classes/XMLGetListOfSentMessagesResponseElement.h
index 828206f9e24523819665516d6cfd0baab2734417..ea6f052a58e07769175462c7ee57757b96702505 100644
--- a/Classes/XMLGetListOfSentMessagesResponseElement.h
+++ b/Classes/XMLGetListOfSentMessagesResponseElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetListOfSentMessagesResponseElement.h
diff --git a/Classes/XMLGetListOfSentMessagesResponseElement.m b/Classes/XMLGetListOfSentMessagesResponseElement.m
index 83287030efe4a8b02c5592c8ea43d351cebffed7..0f044c144740c7a9a5efab4794cca86d7407aced 100644
--- a/Classes/XMLGetListOfSentMessagesResponseElement.m
+++ b/Classes/XMLGetListOfSentMessagesResponseElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetListOfSentMessagesResponseElement.m
diff --git a/Classes/XMLGetOwnerInfoFromLoginResponseElement.h b/Classes/XMLGetOwnerInfoFromLoginResponseElement.h
index d8efaf6ddcdf2b14656c553aa526017d4d9da6cb..c506834a53ecf9abce35de260157974c86b56328 100644
--- a/Classes/XMLGetOwnerInfoFromLoginResponseElement.h
+++ b/Classes/XMLGetOwnerInfoFromLoginResponseElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetOwnerInfoFromLoginResponseElement.h
diff --git a/Classes/XMLGetOwnerInfoFromLoginResponseElement.m b/Classes/XMLGetOwnerInfoFromLoginResponseElement.m
index 37cc1e8587221f541771746f2c0bc2ae6d9616ad..589dffce056b77bf58028548d31826e086fdfae8 100644
--- a/Classes/XMLGetOwnerInfoFromLoginResponseElement.m
+++ b/Classes/XMLGetOwnerInfoFromLoginResponseElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLGetOwnerInfoFromLoginResponseElement.m
diff --git a/Classes/XMLMessage.h b/Classes/XMLMessage.h
index fee7d966d7115f877268195d7082afa12e94c909..9093962b2bac5f784645874d251442922da69049 100644
--- a/Classes/XMLMessage.h
+++ b/Classes/XMLMessage.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLMessage.h
diff --git a/Classes/XMLMessage.m b/Classes/XMLMessage.m
index 3d46a88620cb539d39b89ad04eded104e66d527a..dd0b4d830dd53814860dfd68e200f941b3482878 100644
--- a/Classes/XMLMessage.m
+++ b/Classes/XMLMessage.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLMessage.m
diff --git a/Classes/XMLMessageDownloadResponseElement.h b/Classes/XMLMessageDownloadResponseElement.h
index 9cf7693b7ba577a05363b5d9955e90e439d3e17b..3717f1aa97e26fb6108c274b3b86922143b61da1 100644
--- a/Classes/XMLMessageDownloadResponseElement.h
+++ b/Classes/XMLMessageDownloadResponseElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MessageDownloadResponse.h
diff --git a/Classes/XMLMessageDownloadResponseElement.m b/Classes/XMLMessageDownloadResponseElement.m
index 021c6ddd2ed8659a49e34800a55c9f0d85a6a5f1..68a647dca865467caef857f13f6482dfc771a310 100644
--- a/Classes/XMLMessageDownloadResponseElement.m
+++ b/Classes/XMLMessageDownloadResponseElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  MessageDownloadResponse.m
diff --git a/Classes/XMLMessageItemElement.h b/Classes/XMLMessageItemElement.h
index c5627d05d2d07e84f40ab283366f10e606f3cdbd..280d1f33b5a6e91f8cec5926ae8b5efc94476da8 100644
--- a/Classes/XMLMessageItemElement.h
+++ b/Classes/XMLMessageItemElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLIdElement.h
diff --git a/Classes/XMLMessageItemElement.m b/Classes/XMLMessageItemElement.m
index 2d114c3219b5b8b23438178658ebf7f417c47a11..4186ccd48e7950f264d32bbcf465f697287494f6 100644
--- a/Classes/XMLMessageItemElement.m
+++ b/Classes/XMLMessageItemElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLIdElement.m
diff --git a/Classes/XMLOwnerInfoElement.h b/Classes/XMLOwnerInfoElement.h
index 587384cfc31f60deb7ca9ad699109c6473607aec..17ee5fa34ae0472cec18bd2fa2ba3170ff92dbea 100644
--- a/Classes/XMLOwnerInfoElement.h
+++ b/Classes/XMLOwnerInfoElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLOwnerInfoElement.h
diff --git a/Classes/XMLOwnerInfoElement.m b/Classes/XMLOwnerInfoElement.m
index b1641058699221b79170fae9590129635286991c..b21c6fc5899eed818f2b729e24876629f9a7ac25 100644
--- a/Classes/XMLOwnerInfoElement.m
+++ b/Classes/XMLOwnerInfoElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLOwnerInfoElement.m
diff --git a/Classes/XMLOwnerInfoItemElement.h b/Classes/XMLOwnerInfoItemElement.h
index 138aa2bbbdc943ceaefebd53ad825ce5a3b858e4..ae9a63565af398572cbd10ec96d14d33c45dce4e 100644
--- a/Classes/XMLOwnerInfoItemElement.h
+++ b/Classes/XMLOwnerInfoItemElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLOwnerInfoItemElement.h
diff --git a/Classes/XMLOwnerInfoItemElement.m b/Classes/XMLOwnerInfoItemElement.m
index e79dec37343d1571dbfbdabe634d539993199f28..f370bd793af71dd6f2c23cfd3d1e4bc07ae886fb 100644
--- a/Classes/XMLOwnerInfoItemElement.m
+++ b/Classes/XMLOwnerInfoItemElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLOwnerInfoItemElement.m
diff --git a/Classes/XMLReturnedMessageElement.h b/Classes/XMLReturnedMessageElement.h
index e9e59479b864f4ad286d19395d4b82ca13719041..ef0b2143b2e1f1f28bef12e222e7a9e97428b30a 100644
--- a/Classes/XMLReturnedMessageElement.h
+++ b/Classes/XMLReturnedMessageElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLReturnedMessageElement.h
diff --git a/Classes/XMLReturnedMessageElement.m b/Classes/XMLReturnedMessageElement.m
index 86a92eacd30bc789d789b126663822382b7823ba..8e7d5ae0efe3a0e5fd5111b5db3fcb242d1990e3 100644
--- a/Classes/XMLReturnedMessageElement.m
+++ b/Classes/XMLReturnedMessageElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLReturnedMessageElement.m
diff --git a/Classes/XMLSignatureElement.h b/Classes/XMLSignatureElement.h
index cc891a3aa480d00bf5b05b94b689f7b196cb653d..e8f427ffb6f869566243910525d89007725bca20 100644
--- a/Classes/XMLSignatureElement.h
+++ b/Classes/XMLSignatureElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLSignatureElement.h
diff --git a/Classes/XMLSignatureElement.m b/Classes/XMLSignatureElement.m
index 99214be929cd3b65d786a782492dc8a33af74b10..4ea3247cd40fe3d0e1ffa1128c0791f6da790c09 100644
--- a/Classes/XMLSignatureElement.m
+++ b/Classes/XMLSignatureElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLSignatureElement.m
diff --git a/Classes/XMLSignedSentMessageDownloadResponseElement.h b/Classes/XMLSignedSentMessageDownloadResponseElement.h
index 73b1f9cdb34c24db3300567d3d2b13dd9cd7acfa..c6ae22d3d33b1f556100d8bc2ce76be2d6d5c96d 100644
--- a/Classes/XMLSignedSentMessageDownloadResponseElement.h
+++ b/Classes/XMLSignedSentMessageDownloadResponseElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLResponseElement.h
diff --git a/Classes/XMLSignedSentMessageDownloadResponseElement.m b/Classes/XMLSignedSentMessageDownloadResponseElement.m
index b6c10769e0e923966d46ec33ea6f88074bb8b008..f5ad54d8ea3d5bba7f0e36260d0e6b869f971dbc 100644
--- a/Classes/XMLSignedSentMessageDownloadResponseElement.m
+++ b/Classes/XMLSignedSentMessageDownloadResponseElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLResponseElement.m
diff --git a/Classes/XMLSoapEnvelopeElement.h b/Classes/XMLSoapEnvelopeElement.h
index e69893b92098a6b265737f4446e24b9765f9a280..86b9ca1ca778d05538d4a96ddaf8b768c5057652 100644
--- a/Classes/XMLSoapEnvelopeElement.h
+++ b/Classes/XMLSoapEnvelopeElement.h
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLSoapEnvelopeElement.h
diff --git a/Classes/XMLSoapEnvelopeElement.m b/Classes/XMLSoapEnvelopeElement.m
index b61eda752686c4a8b20a30ff8e64d50b978370fb..072af0d9751021dfd8facdf3ea9bcd6d43eeef42 100644
--- a/Classes/XMLSoapEnvelopeElement.m
+++ b/Classes/XMLSoapEnvelopeElement.m
@@ -2,17 +2,12 @@
  *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.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.
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
  *
- *  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/>.
  */
 //
 //  XMLSoapEnvelopeElement.m
diff --git a/ContentViewController.h b/ContentViewController.h
index 0d11a2d4f2cf85da64ce8d2aa0b65f91c9773e4e..f18b060ed719262597e0274644975e253168e442 100644
--- a/ContentViewController.h
+++ b/ContentViewController.h
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ContentViewController.h
 //  ISDS
diff --git a/ContentViewController.m b/ContentViewController.m
index bc3f22dd433a4705a8dcc1c2febc9fd4169eedbd..4c6b7d3b4ca655a2029b7422fbae9643c4aa2a20 100644
--- a/ContentViewController.m
+++ b/ContentViewController.m
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ContentViewController.m
 //  ISDS
diff --git a/DetailViewController.h b/DetailViewController.h
index 81de58f0d93198bce1e3963d5880ff86fd5b86a6..50b01200f6695aeaab90bd999b427be7dbc93f4c 100644
--- a/DetailViewController.h
+++ b/DetailViewController.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  DetailView.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <UIKit/UIKit.h>
diff --git a/DetailViewController.m b/DetailViewController.m
index 9d47af3d32a3295333f77898ca6a3d59529fa258..8274807f1834c3b9341578a190c54dc11cdb01cc 100644
--- a/DetailViewController.m
+++ b/DetailViewController.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  DetailView.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "DetailViewController.h"
diff --git a/EditAccountViewController_iPad.h b/EditAccountViewController_iPad.h
index c5fd512144be5d731a66071441a1ec0f9dfbbc4c..41ec53fd2f543641053b5fc3f2b78be04ae35fd2 100644
--- a/EditAccountViewController_iPad.h
+++ b/EditAccountViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  EditAccountViewController_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/EditAccountViewController_iPad.m b/EditAccountViewController_iPad.m
index c02c9c8baa0f01dcfbcacccfb60fb512bbf039f8..766304a44870e758b17d1f2747e3adf92046dada 100644
--- a/EditAccountViewController_iPad.m
+++ b/EditAccountViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  EditAccountViewController_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "EditAccountViewController_iPad.h"
diff --git a/FileCell_iPad.h b/FileCell_iPad.h
index 550e7c6730726fd453d272b919ff10af51807325..355d0519bd9d06d783efa2edb43538b89495cabc 100644
--- a/FileCell_iPad.h
+++ b/FileCell_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  FileCell_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 5/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/FileCell_iPad.m b/FileCell_iPad.m
index 6e31fb8ca3f1b316b211ba6c32556eb17a6af29b..4ac0a2003fe4b63ed07db2ab5cf6a004dcaee625 100644
--- a/FileCell_iPad.m
+++ b/FileCell_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  FileCell_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 5/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "FileCell_iPad.h"
diff --git a/FileCell_iPhone.h b/FileCell_iPhone.h
index 80d1cecd05272839ff041dc8208c0e0271157eb9..fbd46f787414cef16acf8ee96baef5b190b3b317 100644
--- a/FileCell_iPhone.h
+++ b/FileCell_iPhone.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  FileCell_iPhone.h
 //  ISDS
 //
 //  Created by Petr Hruška on 5/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/FileCell_iPhone.m b/FileCell_iPhone.m
index 0b6372c97ad2cb3a10fda0679fd83cb5599b90d1..be8d6ecefdcabc71d20be2dd5a6b0e9267dc62c6 100644
--- a/FileCell_iPhone.m
+++ b/FileCell_iPhone.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  FileCell_iPhone.m
 //  ISDS
 //
 //  Created by Petr Hruška on 5/18/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "FileCell_iPhone.h"
diff --git a/ISDSAppDelegate_iPad.h b/ISDSAppDelegate_iPad.h
index 7589ba5285dc284203da1dec611371cd68d1ac90..a941f15e46bc557b872e79981c3548d83e7423dc 100644
--- a/ISDSAppDelegate_iPad.h
+++ b/ISDSAppDelegate_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ISDSAppDelegate_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "ISDSAppDelegate_Shared.h"
diff --git a/ISDSAppDelegate_iPad.m b/ISDSAppDelegate_iPad.m
index 7fd2158b70ba4a36bed966db15962df7579e39f7..08bb81bc89fa7343da74e4e7e39429b803e8a8e9 100644
--- a/ISDSAppDelegate_iPad.m
+++ b/ISDSAppDelegate_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ISDSAppDelegate_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "ISDSAppDelegate_iPad.h"
diff --git a/ISDSAppDelegate_iPhone.h b/ISDSAppDelegate_iPhone.h
index 9837b936836aa64530beb1beb1314ddbb14bd637..8c4f23017ec70b965a22a779f118e38dd825848b 100644
--- a/ISDSAppDelegate_iPhone.h
+++ b/ISDSAppDelegate_iPhone.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ISDSAppDelegate_iPhone.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "ISDSAppDelegate_Shared.h"
diff --git a/ISDSAppDelegate_iPhone.m b/ISDSAppDelegate_iPhone.m
index 17bc3a664d821d3543c1825f198ba270d169a8f6..5ff35d2603a1311d296900c8c88a9c20ec2bc4db 100644
--- a/ISDSAppDelegate_iPhone.m
+++ b/ISDSAppDelegate_iPhone.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  ISDSAppDelegate_iPhone.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "ISDSAppDelegate_iPhone.h"
diff --git a/LICENSE b/LICENSE
index 94a9ed024d3859793618152ea559a168bbcbb5e2..d0c600a6aad465c1d0fa9bb1ad3b4c40a42cebd1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,674 +1,5 @@
-                    GNU GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
+iDatovka is dual licensed under the GPL 3.0 (full text is available in the
+file gpl.txt) and the Apache License, Version 2.0 (available in 
+apache-license.txt).
 
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                            Preamble
-
-  The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.  We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors.  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
-  To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights.  Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received.  You must make sure that they, too, receive
-or can get the source code.  And you must show them these terms so they
-know their rights.
-
-  Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
-  For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software.  For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
-  Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so.  This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software.  The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable.  Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products.  If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
-  Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary.  To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                       TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-  No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-  When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-  4. Conveying Verbatim Copies.
-
-  You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-  You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-  5. Conveying Modified Source Versions.
-
-  You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified
-    it, and giving a relevant date.
-
-    b) The work must carry prominent notices stating that it is
-    released under this License and any conditions added under section
-    7.  This requirement modifies the requirement in section 4 to
-    "keep intact all notices".
-
-    c) You must license the entire work, as a whole, under this
-    License to anyone who comes into possession of a copy.  This
-    License will therefore apply, along with any applicable section 7
-    additional terms, to the whole of the work, and all its parts,
-    regardless of how they are packaged.  This License gives no
-    permission to license the work in any other way, but it does not
-    invalidate such permission if you have separately received it.
-
-    d) If the work has interactive user interfaces, each must display
-    Appropriate Legal Notices; however, if the Program has interactive
-    interfaces that do not display Appropriate Legal Notices, your
-    work need not make them do so.
-
-  A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-  6. Conveying Non-Source Forms.
-
-  You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by the
-    Corresponding Source fixed on a durable physical medium
-    customarily used for software interchange.
-
-    b) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by a
-    written offer, valid for at least three years and valid for as
-    long as you offer spare parts or customer support for that product
-    model, to give anyone who possesses the object code either (1) a
-    copy of the Corresponding Source for all the software in the
-    product that is covered by this License, on a durable physical
-    medium customarily used for software interchange, for a price no
-    more than your reasonable cost of physically performing this
-    conveying of source, or (2) access to copy the
-    Corresponding Source from a network server at no charge.
-
-    c) Convey individual copies of the object code with a copy of the
-    written offer to provide the Corresponding Source.  This
-    alternative is allowed only occasionally and noncommercially, and
-    only if you received the object code with such an offer, in accord
-    with subsection 6b.
-
-    d) Convey the object code by offering access from a designated
-    place (gratis or for a charge), and offer equivalent access to the
-    Corresponding Source in the same way through the same place at no
-    further charge.  You need not require recipients to copy the
-    Corresponding Source along with the object code.  If the place to
-    copy the object code is a network server, the Corresponding Source
-    may be on a different server (operated by you or a third party)
-    that supports equivalent copying facilities, provided you maintain
-    clear directions next to the object code saying where to find the
-    Corresponding Source.  Regardless of what server hosts the
-    Corresponding Source, you remain obligated to ensure that it is
-    available for as long as needed to satisfy these requirements.
-
-    e) Convey the object code using peer-to-peer transmission, provided
-    you inform other peers where the object code and Corresponding
-    Source of the work are being offered to the general public at no
-    charge under subsection 6d.
-
-  A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-  A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-  "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-  If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-  The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-  Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-  7. Additional Terms.
-
-  "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-  When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-  Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the
-    terms of sections 15 and 16 of this License; or
-
-    b) Requiring preservation of specified reasonable legal notices or
-    author attributions in that material or in the Appropriate Legal
-    Notices displayed by works containing it; or
-
-    c) Prohibiting misrepresentation of the origin of that material, or
-    requiring that modified versions of such material be marked in
-    reasonable ways as different from the original version; or
-
-    d) Limiting the use for publicity purposes of names of licensors or
-    authors of the material; or
-
-    e) Declining to grant rights under trademark law for use of some
-    trade names, trademarks, or service marks; or
-
-    f) Requiring indemnification of licensors and authors of that
-    material by anyone who conveys the material (or modified versions of
-    it) with contractual assumptions of liability to the recipient, for
-    any liability that these contractual assumptions directly impose on
-    those licensors and authors.
-
-  All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-  If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-  Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-  8. Termination.
-
-  You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-  However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-  Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-  Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-  9. Acceptance Not Required for Having Copies.
-
-  You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-  10. Automatic Licensing of Downstream Recipients.
-
-  Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-  An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-  You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-  11. Patents.
-
-  A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's "contributor version".
-
-  A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-  Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-  In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-  If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
-  If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-  A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-  Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-  12. No Surrender of Others' Freedom.
-
-  If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-  13. Use with the GNU Affero General Public License.
-
-  Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work.  The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
-  14. Revised Versions of this License.
-
-  The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-  Each version is given a distinguishing version number.  If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-  If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-  Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-  15. Disclaimer of Warranty.
-
-  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-  16. Limitation of Liability.
-
-  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
-  17. Interpretation of Sections 15 and 16.
-
-  If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-                     END OF TERMS AND CONDITIONS
-
-            How to Apply These Terms to Your New Programs
-
-  If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
-  To do so, attach the following notices to the program.  It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    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/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-  If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
-    <program>  Copyright (C) <year>  <name of author>
-    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-    This is free software, and you are welcome to redistribute it
-    under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
-  You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
-  The GNU General Public License does not permit incorporating your program
-into proprietary programs.  If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library.  If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.  But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
+You can choose which license is more suitable for your purposes.
diff --git a/MessageViewController.h b/MessageViewController.h
index 4f4b0bcde95f5a77f3a15794665713068069d49e..f68a6c6d7addfa412f636b6ae29a0cb6d38c9c45 100644
--- a/MessageViewController.h
+++ b/MessageViewController.h
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  MessageViewController.h
 //  ISDS
diff --git a/MessageViewController.m b/MessageViewController.m
index 38c574eaaee122694d6dfe420550e0d61abecdcc..57c6c171bd32f08177f1efde0ca44ea1f92adbe2 100644
--- a/MessageViewController.m
+++ b/MessageViewController.m
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  MessageViewController.m
 //  ISDS
diff --git a/PinViewController_iPad.h b/PinViewController_iPad.h
index f38000bf6e278625a105cfcc61612dac1c2b6d23..17f0988b615714d098618b57b8dd1949a7e6b341 100644
--- a/PinViewController_iPad.h
+++ b/PinViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  PinViewController_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/11/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/PinViewController_iPad.m b/PinViewController_iPad.m
index f7df4673c1ca90d7ceed6322adbfe75e601f5554..d09036131a2dd4cd42f1e407920cf243ee4c4760 100644
--- a/PinViewController_iPad.m
+++ b/PinViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  PinViewController_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/11/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "PinViewController_iPad.h"
diff --git a/PinViewController_iPhone.h b/PinViewController_iPhone.h
index 3ed9f14a66f32b570da9a27a2669d0b2e59bbf2a..befcb0184c3b43f2f937f0d265a337bc381f7ba6 100644
--- a/PinViewController_iPhone.h
+++ b/PinViewController_iPhone.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  PinViewController_iPhone.h
 //  ISDS
 //
 //  Created by Petr Hruška on 4/11/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/PinViewController_iPhone.m b/PinViewController_iPhone.m
index c8966af59f5abcb26720df01a0cfd1845ae912bc..bd59571f4b9f7dfd2ff88adf4d494ccfd5803389 100644
--- a/PinViewController_iPhone.m
+++ b/PinViewController_iPhone.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  PinViewController_iPhone.m
 //  ISDS
 //
 //  Created by Petr Hruška on 4/11/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "PinViewController_iPhone.h"
diff --git a/RootViewController_iPad.h b/RootViewController_iPad.h
index 7f1cdf6ef333de9a1211d0f22ad69aca1ae2769a..96e30629784fa587456b9e3b8df1c5d52c5c3060 100644
--- a/RootViewController_iPad.h
+++ b/RootViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  RootViewController-iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <UIKit/UIKit.h>
diff --git a/RootViewController_iPad.m b/RootViewController_iPad.m
index 1e0158bde42e1bd8f3898ce29cea1ca44b597908..cdedb40b5bb60de95fc12c78d18a550d20b18f1a 100644
--- a/RootViewController_iPad.m
+++ b/RootViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  RootViewController-iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/17/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "RootViewController_iPad.h"
diff --git a/SettingsViewController_iPad.h b/SettingsViewController_iPad.h
index d1bc6d6bdea80b77a84898017c7503e4fa4df7f0..93cc8d778d5f7d5f7a3d0f58c599d0a5f2a5d85e 100644
--- a/SettingsViewController_iPad.h
+++ b/SettingsViewController_iPad.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  SettingsViewController_iPad.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/28/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/SettingsViewController_iPad.m b/SettingsViewController_iPad.m
index 9b5898cad223cf5d0ffd555d63acc099b3bf0468..4b25ce24a93f3addf0dc7972de88d10cf7c45e19 100644
--- a/SettingsViewController_iPad.m
+++ b/SettingsViewController_iPad.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  SettingsViewController_iPad.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/28/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "SettingsViewController_iPad.h"
diff --git a/SettingsViewController_iPhone.h b/SettingsViewController_iPhone.h
index 4f0210926ab950494cd8ff57ed00e9fae357093c..878f9d0c35ff6ac6a6017c7b714ce2d9ce8be13e 100644
--- a/SettingsViewController_iPhone.h
+++ b/SettingsViewController_iPhone.h
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  SettingsViewController_iPhone.h
 //  ISDS
 //
 //  Created by Petr Hruška on 2/28/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
diff --git a/SettingsViewController_iPhone.m b/SettingsViewController_iPhone.m
index 23d235f17ceefd6d00956af2dc3d61a23da478ac..a96f39accd6ab14f54a4af7a9b583f0e09befee0 100644
--- a/SettingsViewController_iPhone.m
+++ b/SettingsViewController_iPhone.m
@@ -1,9 +1,19 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  SettingsViewController_iPhone.m
 //  ISDS
 //
 //  Created by Petr Hruška on 2/28/11.
-//  Copyright 2011 CZ.NIC, z.s.p.o. All rights reserved.
 //
 
 #import "SettingsViewController_iPhone.h"
diff --git a/gpl.txt b/gpl.txt
new file mode 100644
index 0000000000000000000000000000000000000000..94a9ed024d3859793618152ea559a168bbcbb5e2
--- /dev/null
+++ b/gpl.txt
@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    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/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/main.m b/main.m
index 695712e065bf9360abfe516482718bbf2530af81..6e1197da5ccc2a6eeaf77adc2fbe90d4100f5c19 100644
--- a/main.m
+++ b/main.m
@@ -1,3 +1,14 @@
+/*  iDatovka - a free iOS application for accessing Datove schranky
+ *  Copyright (C) 2010-2012  CZ.NIC, z.s.p.o. (http://www.nic.cz)
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it either under the terms of the GNU General Public License version 3
+ *  or the Apache License 2.0.
+ * 
+ *  Licensing of iDatovka is described in the file LICENSE in the top level
+ *  directory of the source code.
+ *
+ */
 //
 //  main.m
 //  ISDS