Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Update headers, add LICENSE file.
Browse files Browse the repository at this point in the history
Fixes #22
Closes #23

// FREEBIE
  • Loading branch information
moxie0 committed May 2, 2016
1 parent 791663c commit 803dc5b
Show file tree
Hide file tree
Showing 81 changed files with 975 additions and 462 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal.util;

import android.util.Log;
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public interface DecryptionCallback {
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class DuplicateMessageException extends Exception {
Expand Down
17 changes: 3 additions & 14 deletions java/src/main/java/org/whispersystems/libsignal/IdentityKey.java
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2014 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class LegacyMessageException extends Exception {
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class NoSessionException extends Exception {
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;


Expand Down
17 changes: 3 additions & 14 deletions java/src/main/java/org/whispersystems/libsignal/SessionCipher.java
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
*
* 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.
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class SignalProtocolAddress {
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class StaleKeyExchangeException extends Throwable {
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal;

public class UntrustedIdentityException extends Exception {
Expand Down
15 changes: 2 additions & 13 deletions java/src/main/java/org/whispersystems/libsignal/ecc/Curve.java
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal.ecc;

Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.libsignal.ecc;
Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.libsignal.ecc;
Expand Down
16 changes: 2 additions & 14 deletions java/src/main/java/org/whispersystems/libsignal/ecc/ECKeyPair.java
@@ -1,20 +1,8 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.libsignal.ecc;

public class ECKeyPair {
Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.libsignal.ecc;
Expand Down
@@ -1,18 +1,7 @@
/**
* Copyright (C) 2013 Open Whisper Systems
* Copyright (C) 2013-2016 Open Whisper Systems
*
* 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/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.libsignal.ecc;
Expand Down
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.libsignal.fingerprint;

public class DisplayableFingerprint {
Expand Down

0 comments on commit 803dc5b

Please sign in to comment.