Class EACCardService

    • Constructor Detail

      • EACCardService

        public EACCardService()
    • Method Detail

      • initialize

        protected void initialize​(CardServiceScheduler scheduler,
                                  SmartCard card,
                                  boolean blocking)
                           throws CardServiceException
        Description copied from class: CardService
        Initializes this service. This method is an extension to the constructor. It is invoked by the CardServiceFactory after creating a service using the default constructor. The service cannot be used until this method has been invoked and returned without throwing an exception.
        Derived services may override this method to perform extended initialization. However, the implementation in this class has to be invoked anyway. The preferred way to do this is by invoking super.initialize at the beginning of the redefined method. This mimics the construction mechanism, where the invocation of the base class constructors has to be the first statement in the constructors of derived classes.
        This method has visibility protected since it is meant to be invoked only from class CardServiceFactory. If services should be instantiatable from somewhere else, they may redefine it with public visibility, or whatever is appropriate.
        Overrides:
        initialize in class CardService
        Parameters:
        scheduler - where this service is going to allocate channels
        card - which smartcard has to be supported by this service
        blocking - whether channel allocation is going to be blocking
        Throws:
        CardServiceException - if the service could not be initialized. The object created via the default constructor may not be used if this happens.
        See Also:
        CardServiceFactory
      • setRootCHR

        public void setRootCHR​(java.lang.String rootCHR)
      • setChipAuthenticationPublicKey

        public void setChipAuthenticationPublicKey​(java.security.PublicKey caPublicKey)