diff --git a/crypt-data/src/main/java/de/alpharogroup/crypto/key/reader/PemObjectReader.java b/crypt-data/src/main/java/de/alpharogroup/crypto/key/reader/PemObjectReader.java index ba69a06e..fb5b57b5 100644 --- a/crypt-data/src/main/java/de/alpharogroup/crypto/key/reader/PemObjectReader.java +++ b/crypt-data/src/main/java/de/alpharogroup/crypto/key/reader/PemObjectReader.java @@ -64,12 +64,12 @@ public static PemObject getPemObject(final File file) throws IOException return pemObject; } - /** * Transform the given {@link PemObject} object in pem format {@link String} object. * - * @return the pem object - * @return the {@link String} object in pem format + * @param pemObject + * the pem object + * @return the string * @throws IOException * Signals that an I/O exception has occurred. */ diff --git a/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PrivateKeyReaderTest.java b/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PrivateKeyReaderTest.java index cae78fb3..ff634ca5 100644 --- a/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PrivateKeyReaderTest.java +++ b/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PrivateKeyReaderTest.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.crypto.key.reader; import java.io.File; diff --git a/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PublicKeyReaderTest.java b/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PublicKeyReaderTest.java index 6346feab..76be54ea 100644 --- a/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PublicKeyReaderTest.java +++ b/crypt-data/src/test/java/de/alpharogroup/crypto/key/reader/PublicKeyReaderTest.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.crypto.key.reader; import org.testng.annotations.Test; diff --git a/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PrivateKeyWriterTest.java b/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PrivateKeyWriterTest.java index 520bad3b..52a5d2dd 100644 --- a/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PrivateKeyWriterTest.java +++ b/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PrivateKeyWriterTest.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.crypto.key.writer; import org.testng.annotations.Test; diff --git a/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PublicKeyWriterTest.java b/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PublicKeyWriterTest.java index 00dfb520..3c1b28f3 100644 --- a/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PublicKeyWriterTest.java +++ b/crypt-data/src/test/java/de/alpharogroup/crypto/key/writer/PublicKeyWriterTest.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.crypto.key.writer; import org.testng.annotations.Test; diff --git a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/EnableButtonBehavior.java b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/EnableButtonBehavior.java index 2073658d..8f97f806 100644 --- a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/EnableButtonBehavior.java +++ b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/EnableButtonBehavior.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.mystic.crypt.panels; import javax.swing.ButtonModel; diff --git a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysModelBean.java b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysModelBean.java index 2afc1efc..e586c195 100644 --- a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysModelBean.java +++ b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysModelBean.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.mystic.crypt.panels; import java.security.PrivateKey; diff --git a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanel.java b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanel.java index 958c446e..40612c0e 100644 --- a/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanel.java +++ b/mystic-crypt-ui/src/main/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanel.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.mystic.crypt.panels; import java.awt.event.ActionEvent; diff --git a/mystic-crypt-ui/src/test/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanelTest.java b/mystic-crypt-ui/src/test/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanelTest.java index 231153f8..51932b38 100644 --- a/mystic-crypt-ui/src/test/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanelTest.java +++ b/mystic-crypt-ui/src/test/java/de/alpharogroup/mystic/crypt/panels/GenerateKeysPanelTest.java @@ -1,3 +1,27 @@ +/** + * The MIT License + * + * Copyright (C) 2015 Asterios Raptis + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ package de.alpharogroup.mystic.crypt.panels; import java.io.IOException;