Patent ID: 8301903

Claim:
A method for verifying that a given application is to be permitted access to a secure subroutine, said method comprising: obtaining code for said given application; obtaining a subroutine cryptographic identifier associated with said given application and associated with said secure subroutine, wherein said secure subroutine is associated with a secure input parameter; obtaining an input parameter cryptographic identifier associated with said given application and associated with said secure input parameter; obtaining a hash of said code for said given application; decoding said subroutine cryptographic identifier, using a locally-stored public key associated with said secure subroutine, to obtain a decoded subroutine cryptographic identifier; decoding said input parameter cryptographic identifier, using a locally-stored public key associated with said secure input parameter, to obtain a decoded input parameter cryptographic identifier; determining that said hash of said code matches said decoded subroutine cryptographic identifier; determining that said hash of said code matches said decoded input parameter cryptographic identifier; and responsive to determining that said hash of said code matches said decoded subroutine cryptographic identifier and that said hash of said code matches said decoded input parameter cryptographic identifier, allowing said application to execute said secure subroutine.