Added public/private query methods to the keychain wrapper