Rutoken DemoShift is a demo application which shows use cases of Rutoken ECP Series security tokens and smart cards (including wireless devices) for a workgroup with a single mobile device. It also contains some useful classes for device detection and signing docs.
Rutoken DemoShift should be built using:
- Android Studio 4.0 or newer;
- Android SDK Platform 31 or newer.
External dependencies are located in Rutoken SDK.
- librtpkcs11ecp.so for following architectures: armeabi-v7a, arm64-v8a;
- rtpcsc-*.aar, where * is library version;
- pkcs11wrapper-*.jar, where * is library version.
Before building the project:
- copy librtpkcs11ecp.so library to
<arch>is library architecture;
- copy rtpcsc-*.aar and pkcs11wrapper-*.jar to
Use Android Studio to build the project.
To create a key pair and a certificate on Rutoken ECP Series devices follow these steps:
- Download and install Rutoken plugin on your desktop computer;
- Restart your browser to complete plugin installation;
- Go to the Rutoken register center website;
- Connect Rutoken ECP Series device to your desktop computer;
- For Rutoken ECP Bluetooth make sure that only red LED is active (without blue). If not, press and hold the button on the device until blue light turns off;
- Make sure that Rutoken ECP Series device is found by the website;
- Create a key pair and a certificate following the instructions on the website;
- Make sure that website has found the certificate and the key pair on your device;
- Disconnect the device from the desktop computer and use it with Android device.
- Rutoken DemoShift can only be run on physical devices, not on emulators.
The project source code is distributed under the Simplified BSD License, unless otherwise specified in the source file.