Skip to content

Commit 803dc5b

Browse files
committed
Update headers, add LICENSE file.
Fixes signalapp#22 Closes signalapp#23 // FREEBIE
1 parent 791663c commit 803dc5b

File tree

81 files changed

+975
-462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+975
-462
lines changed

Diff for: LICENSE

+674
Large diffs are not rendered by default.

Diff for: android/src/main/java/org/whispersystems/libsignal/util/AndroidSignalProtocolLogger.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal.util;
27

38
import android.util.Log;

Diff for: java/src/main/java/org/whispersystems/libsignal/DecryptionCallback.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public interface DecryptionCallback {

Diff for: java/src/main/java/org/whispersystems/libsignal/DuplicateMessageException.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class DuplicateMessageException extends Exception {

Diff for: java/src/main/java/org/whispersystems/libsignal/IdentityKey.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2014 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/IdentityKeyPair.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2014-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/InvalidKeyException.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2014 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/InvalidKeyIdException.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2014 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/InvalidMacException.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2014 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/InvalidMessageException.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2014 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/InvalidVersionException.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2014 Open Whisper Systems
2+
* Copyright (C) 2014-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/LegacyMessageException.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class LegacyMessageException extends Exception {

Diff for: java/src/main/java/org/whispersystems/libsignal/NoSessionException.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class NoSessionException extends Exception {

Diff for: java/src/main/java/org/whispersystems/libsignal/SessionBuilder.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38

Diff for: java/src/main/java/org/whispersystems/libsignal/SessionCipher.java

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
1-
/**
2-
* Copyright (C) 2013 Open Whisper Systems
3-
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
83
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/SignalProtocolAddress.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class SignalProtocolAddress {

Diff for: java/src/main/java/org/whispersystems/libsignal/StaleKeyExchangeException.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class StaleKeyExchangeException extends Throwable {

Diff for: java/src/main/java/org/whispersystems/libsignal/UntrustedIdentityException.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2014-2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal;
27

38
public class UntrustedIdentityException extends Exception {

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/Curve.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176
package org.whispersystems.libsignal.ecc;
187

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/DjbECPrivateKey.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176

187
package org.whispersystems.libsignal.ecc;

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/DjbECPublicKey.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176

187
package org.whispersystems.libsignal.ecc;

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/ECKeyPair.java

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
17-
186
package org.whispersystems.libsignal.ecc;
197

208
public class ECKeyPair {

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/ECPrivateKey.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176

187
package org.whispersystems.libsignal.ecc;

Diff for: java/src/main/java/org/whispersystems/libsignal/ecc/ECPublicKey.java

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
/**
2-
* Copyright (C) 2013 Open Whisper Systems
2+
* Copyright (C) 2013-2016 Open Whisper Systems
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
13-
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
4+
* Licensed according to the LICENSE file in this repository.
165
*/
176

187
package org.whispersystems.libsignal.ecc;

Diff for: java/src/main/java/org/whispersystems/libsignal/fingerprint/DisplayableFingerprint.java

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* Copyright (C) 2016 Open Whisper Systems
3+
*
4+
* Licensed according to the LICENSE file in this repository.
5+
*/
16
package org.whispersystems.libsignal.fingerprint;
27

38
public class DisplayableFingerprint {

0 commit comments

Comments
 (0)