Background technology
Along with people to improving constantly that computer security is paid attention to, increasing computer and server are installed encrypted card and are come protected data safety, the effect of encrypted card is also more and more important.
Authentication, management and information protection to encrypted card has simultaneously proposed new challenge, and simple password protection and backup can't be satisfied safety requirements.
Present common practice:
(1) use IC (logic) to stick into row authentication and data preservation by serial ports.Because IC (logic) card only has memory function, is easy to be replicated, and relies on the protection of IC-card fully, duplicates in case IC opens by other people, the IC-card authentication management will be performed practically no function
(2) using IC (CPU) to stick into row by serial ports authenticates and uses IC (logic) to stick into the line data preservation.Though IC (logic) card difficulty of reproduction is bigger, serial ports transmission data are slow, thereby authentication speed is influenced by it also.IC-card as for data are preserved is easy to be replicated, in case duplicated by other people, key does not have protection to say fully in the secret card.
Summary of the invention
The object of the present invention is to provide a kind of method and corresponding encrypted card that encrypted card and USB intelligent code key are combined, use the authentication of USB intelligent code key, management and preserve the encrypted card data.
A kind of encrypted card authentication authority method of the USB of employing intelligent key: comprise and authorize and authenticate two big flow processs;
Described authorization flow comprises:
A, be that each USB intelligent key is provided a certificate or key to indicate user identity;
All The data protection secret key encryptions in B, the encrypted card;
C, encrypted card be to the mandate of USB intelligent key, simultaneously the protection key of encrypted card is used be kept in the encrypted card behind the public key encryption in the USB intelligent key or the USB intelligent key in;
Described identifying procedure comprises:
D, encrypted card use PKI authentication mode authentication USB intelligent key;
The USB intelligent key of E, mandate will carry out role and right assignment according to authorization conditions, and undelegated USB intelligent key can't be by checking;
F, encrypted card use the private key in the USB intelligent key to separate the privacy protection key, decipher other desired datas simultaneously.
A kind of optimal technical scheme of the present invention is: described USB intelligent key can't be replicated and derive, and adopts the PIN code protection.
Another optimal technical scheme of the present invention is: the protected data that the USB intelligent key of the specific store derived data that process is authorized can be preserved encrypted card maybe imports to the derived data of preserving in the encrypted card.
A kind of encrypted card of supporting the USB intelligent key comprises encrypted card, and USB interface is characterized in that: comprise the USB intelligent key,
Described USB intelligent key is connected with encrypted card by USB interface.
A kind of technical scheme of the present invention is: have a certificate or key right in the described USB intelligent key, certificate or key be to can't duplicating or derive, and adopt PIN code protection USB intelligent key.
A technical scheme more of the present invention is: the internal storage The data protection cryptographic key protection of described encrypted card.
An also technical scheme of the present invention is: described encrypted card is to the mandate of USB intelligent key, simultaneously the protection key of encrypted card is used be kept in the encrypted card behind the public key encryption in the USB intelligent key or the USB intelligent key in.
Another technical scheme of the present invention is: described encrypted card uses PKI authentication mode authentication USB intelligent key, and unauthorized USB intelligent key can not authorize the USB intelligent key to carry out role and right assignment according to authorization conditions by authentication.
Another technical scheme of the present invention is: described encrypted card uses the private key in the USB intelligent key to separate the privacy protection key, deciphers other desired datas simultaneously.
Another technical scheme of the present invention is: the protected data that the USB intelligent key of the specific store derived data that process is authorized can be preserved encrypted card maybe imports to the derived data of preserving in the encrypted card.
The beneficial effect that the present invention brings is as follows:
1, the USB intelligent code key uses PKI system algorithm obviously to improve the security intensity of data (especially PK) in the encrypted card.
2, the coefficient of safety that has improved the authentication medium can not be derived and be duplicated to the private key of USB intelligent code key, avoids being replicated the puzzlement of authentication medium.
3, the PIN code of USB intelligent code key and private key mechanism, the fail safe of the derived data of encrypted card obviously improves.
4, the high-speed transfer speed of USB (especially 2.0,3.0) is finished authentication and backup fast.
Specific embodiments
At the problem of present encrypted card authentication, management and data protection, the invention provides a kind of solution safe, efficient and that easily expand.
Authorize:
(1), we are that each USB intelligent code key is provided a certificate (or key is right, approach is disregarded), in order to the identifying user identity.Because the physical characteristic of USB intelligent code key, the private key of certificate (or key to) can't duplicate and derive, and fundamentally stops the possibility that medium is replicated.Even the USB intelligent code key is lost, the PIN code protection of USB intelligent code key is still arranged, do not knowing still can't to use private key under the situation of PIN code.
(2), the equal encrypting storing of all data (this paper claims this key to be the protection key) in the encrypted card; (3), encrypted card is to the mandate of USB intelligent code key, simultaneously the protection key of encrypted card used public key encryption in the USB intelligent code key to preserve (position can be in encrypted card, also can in the USB intelligent code key).Authentication:
(1), encrypted card uses PKI authentication mode authentication USB intelligent code key, unauthorized USB intelligent code key can not be by authentication; Authorized the USB intelligent code key will carry out role and right assignment according to authorization conditions.
(2), encrypted card uses the private key in the USB intelligent code key to separate the privacy protection key, deciphers other data simultaneously as required, to guarantee that encrypted card can normally move.
Import and export data protection:
(1), the USB intelligent code key of the specific store derived data of process mandate can be preserved the protected data (can comprise the protection key) in the encrypted card.
(2), the USB intelligent code key of the specific store derived data of process mandate can import to the derived data of preserving (can comprise the protection key) in the encrypted card.