func GenKeyPair(label, tag string, useBiometrics, accessibleWhenUnlockedOnly bool) ([]byte, error)
GenKeyPair creates a key with the given label and tag.
useBiometrics and accessibleWhenUnlockedOnly are ignored,
they are present for API compatibility.
Returns public key raw data.
RemoveKey tries to delete a key identified by label, tag and hash.
hash is the SHA1 of the key. Can be nil
If hash is nil then all the keys that match the label and tag specified will
be deleted.
Returns true if the key was found and deleted successfully
SignWithKey signs arbitrary data pointed to by data with the key described by
label and tag. Returns the signed data.
hash is the SHA1 of the key. Can be nil.