Specification Errata - Java Card Platform Version 3.0, Connected Edition

   
May 5, 2008    
Contents
 
 
Introduction
Application Programming Interface
Sample
Sending Feedback
 
Introduction

This page contains a list of all high priority errata for the specifications and other documents included in the specification bundle of the Java Card Platform, Version 3.0, Connected Edition that was released in this file: java_card_kit-3_0-doc-spec-rr-10_apr_2008.zip.

Application Programming Interface
Location/Item
Description
Correction
javacard.framework.TransactionException
Bug ID: 6694150
JCSystem transaction methods refer to a non-existant TransactionException constant of TransactionException.ILLEGAL_USE.
javacard.framework.TransactionException should have another constant with the following declaration:
public static final short ILLEGAL_USE = 5;
javacard.framework.KeyBuilder
Bug ID: 6687062
KeyBuilder is missing the factory method using the string key type parameter with provider selection.
javacard.security.KeyBuilder should have another method with the following signature:
public static Key buildKey(String keyType, String provider, short keyLength, boolean keyEncryption) throws CryptoException;
javacardx.security.CredentialManager
Bug ID: 6684154
The following methods of the CredentialManager class are incorrectly returning a key from the sun.spot implementation:
public abstract com.sun.spot.security.Key[] getCredentials(byte[] types, String endpointURI, byte mode)
public abstract com.sun.spot.security.PrivateKey getMatchingPrivateKey(Certificate certificate, String endpointURI, byte mode)
The return type from those methods must be javacard.framework.security.Key from the Java Card API 3.0.
 
Sample
Location/Item
Description
Correction
Transit application descriptors
XML Schema location is wrong in the transit sample.
The correct schema location is here
 
Sending Feedback

We greatly appreciate your feedback on the specifications.

Back to top

Left Curve
Embedded Downloads
Right Curve
Java 8 banner (182)



Java One 2014 RHS Banner

Duke's Choice RHS Banner