Setup the SDK

To develop an app using the Hardware Security SDK, you need to set up your project with the SDK, which is available from the Cotech Maven repository.

The minimum requirements for your app when using the SDK is:

  • Android >= 4.0 (min SDK 14)

Get Access to our Maven Repository

To get a username and password for our Maven repository, please contact us for a license.

Add the SDK to Your Project

Add this to your build.gradle:

repositories {
    google()
    jcenter()
    maven {
        credentials {
            username 'xxx'
            password 'xxx'
        }
        url "https://maven.cotech.de"
    }
}

dependencies {
    implementation 'de.cotech:hw-security:1.2'
}

Library Footprint

The SDK depends on the following libraries

  • ‘com.google.auto.value:auto-value-annotations:1.6.2’
  • ‘android.arch.lifecycle:runtime:1.1.1’
  • ‘com.squareup.okio:okio:1.14.0’
  • ‘com.madgag.spongycastle:prov:1.58.0.0’
  • ‘com.jakewharton.timber:timber:4.7.0’