diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2016-03-08 03:01:32 +0100 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2016-03-08 03:01:32 +0100 |
commit | 84fb5e45b140f7a0ebec1b181bc909cf80668823 (patch) | |
tree | 8238b25671cea75c72c02c76ad3f799c787fc54a /OpenKeychain | |
parent | e45d671ce9c62e15a8189157e054b61b10e23a20 (diff) | |
download | open-keychain-84fb5e45b140f7a0ebec1b181bc909cf80668823.tar.gz open-keychain-84fb5e45b140f7a0ebec1b181bc909cf80668823.tar.bz2 open-keychain-84fb5e45b140f7a0ebec1b181bc909cf80668823.zip |
Fix documentation of nfcGenerateOnCardKey
Diffstat (limited to 'OpenKeychain')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/BaseSecurityTokenNfcActivity.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/BaseSecurityTokenNfcActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/BaseSecurityTokenNfcActivity.java index d23b15908..d3000e565 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/BaseSecurityTokenNfcActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/base/BaseSecurityTokenNfcActivity.java @@ -938,7 +938,7 @@ public abstract class BaseSecurityTokenNfcActivity extends BaseActivity implemen * this command also has the effect of resetting the digital signature counter. * NOTE: This does not set the key fingerprint data object! After calling this command, you * must construct a public key packet using the returned public key data objects, compute the - * key fingerprint, and store it on the card using the nfcSetFingerprint method. + * key fingerprint, and store it on the card using: nfcPutData(0xC8, key.getFingerprint()) * * @param slot The slot on the card where the key should be generated: * 0xB6: Signature Key @@ -946,8 +946,6 @@ public abstract class BaseSecurityTokenNfcActivity extends BaseActivity implemen * 0xA4: Authentication Key * @return the public key data objects, in TLV format. For RSA this will be the public modulus * (0x81) and exponent (0x82). These may come out of order; proper TLV parsing is required. - * - * TODO: nfcSetFingerprint missing. */ public byte[] nfcGenerateOnCardKey(int slot) throws IOException { if (slot != 0xB6 && slot != 0xB8 && slot != 0xA4) { |