EldoS | Feel safer!

Software components for data protection, secure storage and transfer

KeyID and KeyFP in C++

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#32643
Posted: 03/17/2015 13:09:14
by Arvel Hathcock (Standard support level)
Joined: 03/08/2015
Posts: 1

I'm using the latest SecureBlackbox openpgp stuff.

How can I get the KeyID and KeyFP from a key that is listed on the key-ring? I want to dump several key properties to the UI but can't see how to display these elements. There is no get_KeyID() or get_KeyFP()? What is the proper way to get this information?

Thanks in advance!

Arvel
#32645
Posted: 03/17/2015 13:38:37
by Dmytro Bogatskyy (EldoS Corp.)

Thank you for contacting us.

Quote
How can I get the KeyID and KeyFP from a key that is listed on the key-ring? I want to dump several key properties to the UI but can't see how to display these elements. There is no get_KeyID() or get_KeyFP()? What is the proper way to get this information?

They are not properties, but methods that return result. So you can access them directly (without "get_" prefix). For example:
Code
std::vector<uint8_t> keyID;
PublicKey.KeyID(keyID);

See: https://www.eldos.com/documentation/sb...keyid.html

Reply

Statistics

Topic viewed 602 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!