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 {
    maven {
        credentials {
            username 'xxx'
            password 'xxx'
        url ""

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

Library Footprint

The SDK depends on the following libraries

  • ‘’
  • ‘android.arch.lifecycle:runtime:1.1.1’
  • ‘com.squareup.okio:okio:1.14.0’
  • ‘com.madgag.spongycastle:prov:’
  • ‘com.jakewharton.timber:timber:4.7.0’