The invention discloses a method for achieving multi-application of intelligent secret key equipment. the method includes the steps that when an initialized interface of a
middleware is called, an equipment information
list, an application
list and a container
list are built; if a built container interface is called, the
middleware builds container objects, distributes container
sentence handles and correspondingly stores the container
sentence handles to the corresponding positions of the container list, and the container
sentence handles are returned; if a built secret key interface is called, the
middleware builds secret key objects, distributes corresponding secret key IDs, stores the secret key IDs and secret key functions to the secret key objects, stores the secret key IDs to the container objects, and distributes one secret key
handle and stores the secret key
handle, and the secret key
handle is returned; if a deleting container interface is called, the middleware obtains corresponding
container object quotations according to equipment names and container names, deleting commands are generated according to the
container object quotations and sent to the corresponding intelligent secret key equipment, after the intelligent secret key equipment successfully deletes the corresponding container objects according to the deleting commands, the middleware removes the corresponding container information from the container list.