diff --git a/build.gradle.kts b/build.gradle.kts index 129599f..fc56e30 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { alias(libs.plugins.android.application) apply false diff --git a/example-app/app/build.gradle.kts b/example-app/app/build.gradle.kts index 9b6654a..378dd24 100644 --- a/example-app/app/build.gradle.kts +++ b/example-app/app/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/MainActivity.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/MainActivity.kt index 4828e3d..b7e5883 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/MainActivity.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/MainActivity.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp import android.os.Bundle diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/C2PAManager.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/C2PAManager.kt index d494013..7d2c5cd 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/C2PAManager.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/C2PAManager.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.data import android.content.Context diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/PreferencesManager.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/PreferencesManager.kt index f31f562..1006482 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/PreferencesManager.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/data/PreferencesManager.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.data import android.content.Context diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/model/SigningMode.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/model/SigningMode.kt index bd93d69..cbf8dc5 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/model/SigningMode.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/model/SigningMode.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.model enum class SigningMode(val displayName: String, val description: String, val requiresConfiguration: Boolean = false) { diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/camera/CameraScreen.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/camera/CameraScreen.kt index a783cd4..3c7b061 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/camera/CameraScreen.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/camera/CameraScreen.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.camera import android.Manifest diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/gallery/GalleryScreen.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/gallery/GalleryScreen.kt index cfef828..4c17621 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/gallery/GalleryScreen.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/gallery/GalleryScreen.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.gallery import androidx.compose.foundation.clickable diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/settings/SettingsScreen.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/settings/SettingsScreen.kt index 462983e..812ef06 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/settings/SettingsScreen.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/settings/SettingsScreen.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.settings import android.net.Uri diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Color.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Color.kt index 2967904..75efbe4 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Color.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Color.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.theme import androidx.compose.ui.graphics.Color diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/ExampleTheme.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/ExampleTheme.kt index c078af9..2669233 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/ExampleTheme.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/ExampleTheme.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.theme import android.os.Build diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Type.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Type.kt index 71e6dc6..a9cb91f 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Type.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/theme/Type.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.theme import androidx.compose.material3.Typography diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/C2PAFileChooserActivity.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/C2PAFileChooserActivity.kt index 4c31297..16492dc 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/C2PAFileChooserActivity.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/C2PAFileChooserActivity.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.webview import android.app.Activity diff --git a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/WebViewScreen.kt b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/WebViewScreen.kt index 789df65..4aaf697 100644 --- a/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/WebViewScreen.kt +++ b/example-app/app/src/main/kotlin/org/contentauth/c2pa/exampleapp/ui/webview/WebViewScreen.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.exampleapp.ui.webview import android.app.Activity diff --git a/library/build.gradle.kts b/library/build.gradle.kts index dc82d33..0d246a3 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + import org.gradle.api.publish.maven.MavenPublication import java.util.Properties diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidBuilderTests.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidBuilderTests.kt index 7da19fa..bcf8564 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidBuilderTests.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidBuilderTests.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidCoreTests.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidCoreTests.kt index e1743b8..4748872 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidCoreTests.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidCoreTests.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidSignerTests.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidSignerTests.kt index 39b85ba..9c0e693 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidSignerTests.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidSignerTests.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidStreamTests.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidStreamTests.kt index 8887fff..e861636 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidStreamTests.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidStreamTests.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidWebServiceTests.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidWebServiceTests.kt index c3cca4f..69dd546 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidWebServiceTests.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/AndroidWebServiceTests.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/androidTest/kotlin/org/contentauth/c2pa/ResourceTestHelper.kt b/library/src/androidTest/kotlin/org/contentauth/c2pa/ResourceTestHelper.kt index ebb75d9..6eba884 100644 --- a/library/src/androidTest/kotlin/org/contentauth/c2pa/ResourceTestHelper.kt +++ b/library/src/androidTest/kotlin/org/contentauth/c2pa/ResourceTestHelper.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa import android.content.Context diff --git a/library/src/main/kotlin/org/contentauth/c2pa/Builder.kt b/library/src/main/kotlin/org/contentauth/c2pa/Builder.kt index 588c9e7..ce8ac0c 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/Builder.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/Builder.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import java.io.Closeable diff --git a/library/src/main/kotlin/org/contentauth/c2pa/C2PA.kt b/library/src/main/kotlin/org/contentauth/c2pa/C2PA.kt index 8e06ba2..c2fb5bb 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/C2PA.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/C2PA.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import java.io.File diff --git a/library/src/main/kotlin/org/contentauth/c2pa/C2PAError.kt b/library/src/main/kotlin/org/contentauth/c2pa/C2PAError.kt index 2268747..e616bd0 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/C2PAError.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/C2PAError.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa /** diff --git a/library/src/main/kotlin/org/contentauth/c2pa/CertificateManager.kt b/library/src/main/kotlin/org/contentauth/c2pa/CertificateManager.kt index 56f1901..3aeb92b 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/CertificateManager.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/CertificateManager.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import android.os.Build diff --git a/library/src/main/kotlin/org/contentauth/c2pa/Helpers.kt b/library/src/main/kotlin/org/contentauth/c2pa/Helpers.kt index 8310615..484d0c6 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/Helpers.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/Helpers.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import android.util.Log diff --git a/library/src/main/kotlin/org/contentauth/c2pa/KeyStoreSigner.kt b/library/src/main/kotlin/org/contentauth/c2pa/KeyStoreSigner.kt index fd0b411..98e4afc 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/KeyStoreSigner.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/KeyStoreSigner.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import android.os.Build diff --git a/library/src/main/kotlin/org/contentauth/c2pa/Reader.kt b/library/src/main/kotlin/org/contentauth/c2pa/Reader.kt index 6b35042..3d74e4b 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/Reader.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/Reader.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import java.io.Closeable diff --git a/library/src/main/kotlin/org/contentauth/c2pa/Signer.kt b/library/src/main/kotlin/org/contentauth/c2pa/Signer.kt index 732e26b..788ccad 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/Signer.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/Signer.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import java.io.Closeable diff --git a/library/src/main/kotlin/org/contentauth/c2pa/SignerInfo.kt b/library/src/main/kotlin/org/contentauth/c2pa/SignerInfo.kt index 074706b..21ba61c 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/SignerInfo.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/SignerInfo.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa /** diff --git a/library/src/main/kotlin/org/contentauth/c2pa/SigningAlgorithm.kt b/library/src/main/kotlin/org/contentauth/c2pa/SigningAlgorithm.kt index ba23490..1dd6b57 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/SigningAlgorithm.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/SigningAlgorithm.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa /** diff --git a/library/src/main/kotlin/org/contentauth/c2pa/Stream.kt b/library/src/main/kotlin/org/contentauth/c2pa/Stream.kt index d528186..e6de3ed 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/Stream.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/Stream.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import java.io.ByteArrayOutputStream diff --git a/library/src/main/kotlin/org/contentauth/c2pa/StrongBoxSigner.kt b/library/src/main/kotlin/org/contentauth/c2pa/StrongBoxSigner.kt index c7b6ac4..ec471cd 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/StrongBoxSigner.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/StrongBoxSigner.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import android.content.Context diff --git a/library/src/main/kotlin/org/contentauth/c2pa/WebServiceSigner.kt b/library/src/main/kotlin/org/contentauth/c2pa/WebServiceSigner.kt index 360e7bd..9419104 100644 --- a/library/src/main/kotlin/org/contentauth/c2pa/WebServiceSigner.kt +++ b/library/src/main/kotlin/org/contentauth/c2pa/WebServiceSigner.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa import android.util.Base64 diff --git a/settings.gradle.kts b/settings.gradle.kts index 00cdce3..de65bf2 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + pluginManagement { repositories { google() diff --git a/signing-server/build.gradle.kts b/signing-server/build.gradle.kts index 93330ac..c6400ce 100644 --- a/signing-server/build.gradle.kts +++ b/signing-server/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + plugins { kotlin("jvm") kotlin("plugin.serialization") diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/Application.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/Application.kt index 6657ca6..40f4ebb 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/Application.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/Application.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver import io.ktor.http.HttpStatusCode diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/config/ServerConfig.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/config/ServerConfig.kt index c6b5572..575dfc3 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/config/ServerConfig.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/config/ServerConfig.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.config data class ServerConfig( diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PAConfigurationController.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PAConfigurationController.kt index b778dc4..e2d3a7a 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PAConfigurationController.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PAConfigurationController.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.controllers import io.ktor.http.HttpStatusCode diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PASigningController.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PASigningController.kt index 4d0b854..2f12ab1 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PASigningController.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/C2PASigningController.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.controllers import io.ktor.http.HttpStatusCode diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/CertificateSigningController.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/CertificateSigningController.kt index c43c37d..bd13a49 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/CertificateSigningController.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/controllers/CertificateSigningController.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.controllers import io.ktor.http.HttpStatusCode diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/C2PASigning.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/C2PASigning.kt index 5abf19a..1ca1d3d 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/C2PASigning.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/C2PASigning.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.models import kotlinx.serialization.Serializable diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/CertificateSigning.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/CertificateSigning.kt index 71eee18..bf59dfd 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/CertificateSigning.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/models/CertificateSigning.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.signingserver.models import kotlinx.datetime.Instant diff --git a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/services/CertificateSigningService.kt b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/services/CertificateSigningService.kt index 9247e89..191d6ef 100644 --- a/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/services/CertificateSigningService.kt +++ b/signing-server/src/main/kotlin/org/contentauth/c2pa/signingserver/services/CertificateSigningService.kt @@ -1,3 +1,14 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ package org.contentauth.c2pa.signingserver.services import kotlinx.datetime.Instant diff --git a/test-app/app/build.gradle.kts b/test-app/app/build.gradle.kts index bfb2394..6f80ec2 100644 --- a/test-app/app/build.gradle.kts +++ b/test-app/app/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + plugins { id("com.android.application") id("org.jetbrains.kotlin.android") diff --git a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/MainActivity.kt b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/MainActivity.kt index aa7ff2c..8bd3ae7 100644 --- a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/MainActivity.kt +++ b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/MainActivity.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.testapp import android.os.Bundle diff --git a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/TestScreen.kt b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/TestScreen.kt index cadbaac..dad2b73 100644 --- a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/TestScreen.kt +++ b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/TestScreen.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.testapp import android.content.Context diff --git a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/ui/theme/TestTheme.kt b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/ui/theme/TestTheme.kt index 8d8832e..79b1a79 100644 --- a/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/ui/theme/TestTheme.kt +++ b/test-app/app/src/main/kotlin/org/contentauth/c2pa/testapp/ui/theme/TestTheme.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.testapp.ui.theme import android.app.Activity diff --git a/test-shared/build.gradle.kts b/test-shared/build.gradle.kts index c852861..476a28b 100644 --- a/test-shared/build.gradle.kts +++ b/test-shared/build.gradle.kts @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + plugins { id("com.android.library") id("org.jetbrains.kotlin.android") diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/BuilderTests.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/BuilderTests.kt index 4c50061..dec4a07 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/BuilderTests.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/BuilderTests.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import kotlinx.coroutines.Dispatchers diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/CoreTests.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/CoreTests.kt index ca8c659..89f292d 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/CoreTests.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/CoreTests.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import kotlinx.coroutines.Dispatchers diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/SignerTests.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/SignerTests.kt index 6d7d8a7..fbc1293 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/SignerTests.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/SignerTests.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import kotlinx.coroutines.Dispatchers diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/StreamTests.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/StreamTests.kt index 327121b..e12ded6 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/StreamTests.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/StreamTests.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import kotlinx.coroutines.Dispatchers diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/TestBase.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/TestBase.kt index 39fa4dc..0c4a22e 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/TestBase.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/TestBase.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import android.content.Context diff --git a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/WebServiceTests.kt b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/WebServiceTests.kt index 043c27c..3960c69 100644 --- a/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/WebServiceTests.kt +++ b/test-shared/src/main/kotlin/org/contentauth/c2pa/test/shared/WebServiceTests.kt @@ -1,3 +1,15 @@ +/* +This file is licensed to you under the Apache License, Version 2.0 +(http://www.apache.org/licenses/LICENSE-2.0) or the MIT license +(http://opensource.org/licenses/MIT), at your option. + +Unless required by applicable law or agreed to in writing, this software is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF +ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE +files for the specific language governing permissions and limitations under +each license. +*/ + package org.contentauth.c2pa.test.shared import kotlinx.coroutines.Dispatchers