901 San Antonio Road
Palo Alto, CA 94303 USA
650 960-1300
Sun Microsystems, Inc.
Java Card 2.2 Off-Card Verifier
White Paper
June, 2002
Please
Recycle
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All rights reserved.
Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without
limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or
pending patent applications in the U.S. and in other countries.
This document and the product to which it pertains are distributed under licenses restricting their use, copying, distribution, and decompilation. No part of the
product or of this document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any.
Third-party software, including font technology, is copyrighted and licensed from Sun suppliers.
Sun, Sun Microsystems, the Sun logo, Java and Java Card are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
BigNum multiprecision integer math library by Colin Plumb.
Federal Acquisitions: Commercial Software - Government Users Subject to Standard License Terms and Conditions.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO
THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
_______________________________________________________________________________________________________________________________________________
Copyright © 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, Etats-Unis. Tous droits réservés.
Sun Microsystems, Inc. a les droits de propriété intellectuels relatants à la technologie incorporée dans le produit qui est décrit dans ce document. En particulier, et
sans la limitation, ces droits de propriété intellectuels peuvent inclure un ou plus des brevets américains énumérés à http://www.sun.com/patents et un ou les
brevets plus supplémentaires ou les applications de brevet en attente dans les Etats - Unis et dans les autres pays.
Ce produit ou document est protégé par un copyright et distribué avec des licences qui en restreignent l'utilisation, la copie, la distribution, et la décompilation.
Aucune partie de ce produit ou document ne peut être reproduite sous aucune forme, parquelque moyen que ce soit, sans l'autorisation préalable et écrite de Sun et de
ses bailleurs de licence, s'il y ena.
Le logiciel détenu par des tiers, et qui comprend la technologie relative aux polices de caractères, est protégé par un copyright et licencié par des fournisseurs de Sun.
Sun, Sun Microsystems, le logo Sun, Java et Java Card sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans
d'autres pays.
BigNum multiprecision integer math library by Colin Plumb.
LA DOCUMENTATION EST FOURNIE "EN L'ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT
FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE
RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFAÇON.
Contents iii
Contents
1. Introducing the Off-Card Verifier 1
Purpose of Off-Card Verification 1
Runtime Verification 2
Remote Verification 3
Limitations of Non-Incremental Remote Verification 4
Incremental Remote Verification 5
CAP File Verification 7
Verifying for Internal Consistency 8
Export File Verification 9
Compatibility Verification 10
Security Considerations 11
2. Byte Code Verification Algorithm 13
Introduction 13
CAP File Format 13
Context of the Algorithm 14
Entry Point 14
Definitions of States 15
Java Virtual Machine State 15
Abstract Interpreter State 15
iv Java CardTM 2.2 Off-Card Verifier June, 2002
The Algorithm 16
simulate() 17
transition() 17
enterState() 18
Suggestions for Further Reading 19
1
1
Introducing the Off-Card Verifier
This paper describes Sun’s Java Card 2.2 Off-Card Verifier. The Off-Card
Verifier provides functionality for verifying CAP files and export files. When
applied to the set of CAP files that will reside on a Java Card-compliant smart
card and the set of export files used to construct those CAP files, the Off-Card
Verifier provides the means to assert that the content of the smart card has
been verified.
Verification determines whether CAP and export files conform to the Java
Card 2.2 specifications. As such, it is an enforcer of the Java Card
interoperability standards. The set of conformance checks provides that such
files do not attempt to compromise the integrity of a Java Card virtual machine
implementation, and hence other applets.
The Java Card 2.2 Off-Card Verifier is designed to be fully backward
compatible with the 2.1 product.
Purpose of Off-Card Verification
As is well known, many of today’s smart cards have extreme size limitations,
often making it infeasible to place verifiers onto Java Card-compliant smart
cards. As larger smart cards continue to become cost-effective, the move to on-
card verification will almost certainly occur. Both under today’s circumstances
and as on-card verification becomes available, Off-Card verification can play
an integral role in the construction of secure Java Card-compliant smart cards.
Off-Card verification provides a means for evaluating CAP and export files in
a desktop environment. Since debugging in a desktop environment is far easier
1 / 24 100%
La catégorie de ce document est-elle correcte?
Merci pour votre participation!

Faire une suggestion

Avez-vous trouvé des erreurs dans linterface ou les textes ? Ou savez-vous comment améliorer linterface utilisateur de StudyLib ? Nhésitez pas à envoyer vos suggestions. Cest très important pour nous !