Patent ID: 11947686
Assignee: nan
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 1:
2. The shim method of claim 1, further comprising:
the shim intercepting a first application file read request to the operating system that specifies a file pointer value or other identifier as a request parameter;
the shim using the file pointer value or other identifier specified in the first application file read request to search for and identify shim-retained descriptive metadata describing an encryption method and parameters for an encrypted file it associates with the first application file read request;
responsive to identifying shim-retained descriptive meta data describing the encryption method and parameters for the file associated with the first application file read request, the shim invoking a second file read request to the operating system with the file pointer value or other identifier of the encrypted file to retrieve encrypted data from the encrypted file, the shim retrieving encrypted data and decrypting the retrieved encrypted data to obtain plaintext data;
responsive to not identifying retained descriptive metadata describing the encryption method and parameters for the file associated with the read request, the shim invoking a second file read request to the operating system using the file pointer value or other identifier specified in the first application file read request to retrieve unencrypted plaintext data from the file;
the shim retaining a return code of the second file read request;
the shim placing the unencrypted plaintext data or retrieved plaintext data in a buffer location specified in the first application file read request; and
the shim generating a response to the first application file read request by returning the return code of the second file read request to the application.