Searches secret key in the keyring by its KeyID.
The total number of keys with the specified KeyID
Use this method when you need to find public key with specified KeyID.
Note, that KeyIDs are not globally unique, i.e. different keys can share the same ID. So you need to check that the key found is the one you've searched for, and if no, pass other value to the StartIndex parameter. StartIndex must be in range of 0 (retrieve the very first key) and the number of keys with the given ID less 1.
String form of KeyID can be 0x12345678 or 12345678 (short form, 4 base16-encoded bytes) or 0x123456789ABCDEF0 or 123456789ABCDEF0 (complete form, 8 base16-encoded bytes). The method will try to match whatever was provided to the actual key ID.