hwsecurity / de.cotech.hw / SecurityKeyAuthenticator / retrieveCertificateData /
retrieveCertificateData
abstract fun retrieveCertificateData(): Array< Byte>
Read associated certificate data from the Security Key.
What data is returned here depends on the type of Security Key, and may also be parametrized:
- For OpenPGP Security Keys, the returned data is typically the "certificate data" object from the card.
- For PIV Security Keys, it is commonly the associated certificate data,but may be changed to an arbitrary data object to cover special use cases.