ShieldCert

ShieldCert Core SDK

Introduction

The ShieldCert library will help you make your communications more secure. Its main feature is to allow Over-The-Air (OTA) updates of recognized certificates in real time.

Prerequisites

  • Minimum Android version API 26

Installation

Here we will show you how to install the library.

Add dependency

Groovy (build.gradle):

dependencies {
implementation 'com.shieldcert:core:LATEST_VERSION' // Replace LATEST_VERSION with the current version
}

Kotlin KTS (build.gradle.kts):

dependencies {
implementation("com.shieldcert:core:LATEST_VERSION") // Replace LATEST_VERSION with the current version
}

The latest version can be found at:

Last version

Initial Setup (Getting Started)

Steps to initialize and configure the SDK in your application.

Example (Kotlin):

import com.shieldcert.core.ShieldCert
import com.shieldcert.core.ShieldCertConfig

class MyApplication : Application() {
override fun onCreate() {
super.onCreate()

// Initialize ShieldCert SDK
val config = ShieldCertConfig(
publicKey = "-----BEGIN PUBLIC KEY-----\n-----END PUBLIC KEY-----\n",
apiKey = "API-KEY"
)

ShieldCert.initSDK(
application,
config,
)
}
}

How to get publicKey and apiKey

You will need to log in to Dashboard with a Google account. There you can register an application.

Basic Usage

Using SSLPinning in your application.

Example (Kotlin):

// Example of a functionality
val http = HttpClient(CIO) {
engine {
sslEngine()
}
}
val txt = http.get("SERVICE").bodyAsText()

ShieldCert Core SDK

Introduction

The ShieldCert library will help you make your communications more secure. Its main feature is to allow Over-The-Air (OTA) updates of recognized certificates in real time.

Prerequisites

  • Minimum Android version API 26

Installation

Here we will show you how to install the library.

Add dependency

Groovy (build.gradle):

dependencies {
implementation 'com.shieldcert:core:LATEST_VERSION' // Replace LATEST_VERSION with the current version
}

Kotlin KTS (build.gradle.kts):

dependencies {
implementation("com.shieldcert:core:LATEST_VERSION") // Replace LATEST_VERSION with the current version
}

The latest version can be found at:

Last version

Initial Setup (Getting Started)

Steps to initialize and configure the SDK in your application.

Example (Kotlin):

import com.shieldcert.core.ShieldCert
import com.shieldcert.core.ShieldCertConfig

class MyApplication : Application() {
override fun onCreate() {
super.onCreate()

// Initialize ShieldCert SDK
val config = ShieldCertConfig(
publicKey = "-----BEGIN PUBLIC KEY-----\n-----END PUBLIC KEY-----\n",
apiKey = "API-KEY"
)

ShieldCert.initSDK(
application,
config,
)
}
}

How to get publicKey and apiKey

You will need to log in to Dashboard with a Google account. There you can register an application.

Basic Usage

Using SSLPinning in your application.

Example (Kotlin):

// Example of a functionality
val http = HttpClient(CIO) {
engine {
sslEngine()
}
}
val txt = http.get("SERVICE").bodyAsText()

Packages

Link copied to clipboard
common
ios
Link copied to clipboard
common
Link copied to clipboard
Link copied to clipboard
common
Link copied to clipboard
common