cert-encoder.git

commit 7c9746aae0d265450fe6477189d4fa98082ca975

Author: Paolo Lulli <paolo@lulli.net>

Add GPL license note

%!v(PANIC=String method: strings: negative Repeat count)


diff --git a/src/main/java/net/lulli/encrypt/Pems.java b/src/main/java/net/lulli/encrypt/Pems.java
index 52ee1e2fc6e4e42effbb7dab35fe7efc2d0976cc..a3b17952a3ddc7c7a3a0928a5b97084170b23cb5 100644
--- a/src/main/java/net/lulli/encrypt/Pems.java
+++ b/src/main/java/net/lulli/encrypt/Pems.java
@@ -1,3 +1,20 @@
+/* 
+ * This file is part of cert-encoder
+ * Copyright (c) 2024 Paolo Lulli.
+ * 
+ * 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, version 3.
+ *
+ * This program is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty of 
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
 package net.lulli.encrypt;
 
 import java.io.ByteArrayInputStream;




diff --git a/src/main/java/net/lulli/encrypt/pki/PkiEncryptionManager.java b/src/main/java/net/lulli/encrypt/pki/PkiEncryptionManager.java
index 9fc02bd941791443d39e7790f588e99c72440e55..85744ba2155eb1b4aa28e6e07bb25a3a464391ae 100644
--- a/src/main/java/net/lulli/encrypt/pki/PkiEncryptionManager.java
+++ b/src/main/java/net/lulli/encrypt/pki/PkiEncryptionManager.java
@@ -1,3 +1,20 @@
+/* 
+ * This file is part of cert-encoder
+ * Copyright (c) 2024 Paolo Lulli.
+ * 
+ * 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, version 3.
+ *
+ * This program is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty of 
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
 package net.lulli.encrypt.pki;
 
 import net.lulli.encrypt.Pems;




diff --git a/src/main/java/net/lulli/encrypt/symmetric/SymmetricEncryptionManager.java b/src/main/java/net/lulli/encrypt/symmetric/SymmetricEncryptionManager.java
index e124e2dc0768011c7adbf762955dd4f57cf02441..bdb4020af4000dde3af31f241e63df2f9abdc3b1 100644
--- a/src/main/java/net/lulli/encrypt/symmetric/SymmetricEncryptionManager.java
+++ b/src/main/java/net/lulli/encrypt/symmetric/SymmetricEncryptionManager.java
@@ -1,3 +1,20 @@
+/* 
+ * This file is part of cert-encoder
+ * Copyright (c) 2024 Paolo Lulli.
+ * 
+ * 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, version 3.
+ *
+ * This program is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty of 
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
 package net.lulli.encrypt.symmetric;
 
 import javax.crypto.Cipher;




diff --git a/src/test/java/EncryptionTest.java b/src/test/java/EncryptionTest.java
index 0c8c8a46225c6854c7c9c9ef62b7969f39dae3ad..00f3020f5e095a5a2fabbd5c8e79cc91afd4daef 100644
--- a/src/test/java/EncryptionTest.java
+++ b/src/test/java/EncryptionTest.java
@@ -1,3 +1,20 @@
+/* 
+ * This file is part of cert-encoder
+ * Copyright (c) 2024 Paolo Lulli.
+ * 
+ * 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, version 3.
+ *
+ * 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/>.
+ */
+
 import net.lulli.encrypt.Pems;
 import net.lulli.encrypt.pki.PkiEncryptionManager;
 import net.lulli.encrypt.symmetric.SymmetricEncryptionManager;