Class JCCardProxyFactory


  • public class JCCardProxyFactory
    extends CardObjectFactory
    Processes the data returned from the card in the format defined for Java Card RMI. Object references must contain lists of interface names. Extends CardObjectFactory.
    • Constructor Detail

      • JCCardProxyFactory

        public JCCardProxyFactory()
        Constructor for the factory.
    • Method Detail

      • getRemoteObject

        protected java.rmi.Remote getRemoteObject​(byte[] buffer,
                                                  int tagOffset,
                                                  CardAccessor cardAccessor)
                                           throws java.lang.Exception
        Creates the stub instance for object reference returned from the card, assuming the card returned a reference with list of interface names.
        Specified by:
        getRemoteObject in class CardObjectFactory
        Parameters:
        cardAccessor -
        buffer - APDU buffer.
        tagOffset - Offset to tag.
        Returns:
        The instance of the proxy.
        Throws:
        java.lang.Exception - Thrown if the proxy instance cannot be instantiated