I previously posted a question on how to get the signature checksum of my APK here: How do I get the signature checksum of my APK?
The answer is perfect if an app is signed with the v1 signature scheme or the combination v1/v2 signature schemes. (Jar and Full APK Signatures)
However, since my app will only be running on Android O or greater (it is a device specific app), I will only be signing it with the APK signature scheme v2 (v2 scheme).
I will be using EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM. See: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html for details.
How do I get the APK (v2) signature checksum of my app that I can use in my key/value pair for NFC provisioning a device owner app?