Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 457 Bytes
package com.ryuta46.nemapitestandroid
import android.app.Application
import org.spongycastle.jce.provider.BouncyCastleProvider
import java.security.Security
class NemApiTestAndroidApplication : Application() {
override fun onCreate() {
super.onCreate()
Security.addProvider(BouncyCastleProvider())
}
override fun onTerminate() {
Security.removeProvider(BouncyCastleProvider().name)
super.onTerminate()
}
}
You can’t perform that action at this time.