| Function report | 
| Source Code: security\keys\keyring.c | Create Date:2022-07-28 18:18:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:keyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched
Proto:key_ref_t keyring_search(key_ref_t keyring, struct key_type *type, const char *description, bool recurse)
Type:key_ref_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| key_ref_t | keyring | |
| struct key_type * | type | |
| const char * | description | |
| bool | recurse | 
| 959 | If recurse Then flags |= Search child keyrings also | 
| 961 | If match_preparse Then | 
| 962 | ret = match_preparse( & match_data) | 
| 968 | key = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator | 
| 971 | If match_free Then match_free( & match_data) | 
| 973 | Return key | 
| Name | Describe | 
|---|---|
| keyctl_keyring_search | Search the specified keyring and any keyrings it links to for a matching* key | 
| look_up_user_keyrings | Look up the user and user session keyrings for the current process's UID,* creating them if they don't exist. | 
| request_asymmetric_key | Request an asymmetric key. | 
| digsig_verify | digsig_verify() - digital signature verification with public key*@keyring: keyring to search key in*@sig: digital signature*@siglen: length of the signature*@data: data*@datalen: length of the data* Returns 0 on success, -EINVAL otherwise | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |