I hereby claim:
- I am PaddeK on github.
- I am paddek (https://keybase.io/paddek) on keybase.
- I have a public key whose fingerprint is 0F0B 8D20 A3C8 3E0A B06C 91D6 196C EE6D 4C03 6618
To claim this, I am signing this object:
package com.nymi.nymireferenceapp; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.support.v7.widget.PopupMenu; | |
import android.view.MenuItem; | |
import android.view.View; | |
import android.widget.AdapterView; | |
import android.widget.Button; | |
import android.widget.ListView; |
#include "ncl.h" | |
#include <string> | |
#include <iostream> | |
#include <iomanip> | |
#include <vector> | |
#include <sstream> | |
#include <fstream> | |
#include <array> |
if (null != mAdapterProvisions.getItem(position) && | |
null != ((NymiDevice) mAdapterProvisions.getItem(position)).getKeys() && | |
!((NymiDevice) mAdapterProvisions.getItem(position)).getKeys().isEmpty()) { | |
((NymiDevice) mAdapterProvisions.getItem(position)).sign("Message to be signed", | |
((NymiDevice) mAdapterProvisions.getItem(position)).getKeys().get(0), new NymiDevice.NymiSignCallback() { | |
@Override | |
public void onMessageSigned(int status, String signature) { | |
if (status == NymiDevice.NymiSignCallback.SIGN_LOCAL_SUCCESS) { | |
// Of course your code will want to make use of this value otherwise. | |
// This code intends to demonstrate flow. |
I hereby claim:
To claim this, I am signing this object: