Class TKSmartCardToken

  • All Implemented Interfaces:
    NSObject

    public class TKSmartCardToken
    extends TKToken
    TKSmartCardToken base class for implementing SmartCard based token. When implementing SmartCard token extension, subclass TKSmartCardToken and implement TKTokenDelegate on it.
    • Constructor Detail

      • TKSmartCardToken

        protected TKSmartCardToken​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • AID

        public NSData AID()
        This is AID which is specified in extension's plist NSExtensionAttributes as @c com.apple.ctk.aid attribute. If the attribute specifies array of multiple AIDs, this parameter represents AID which was found on the card and is already preselected. If @c com.apple.ctk.aid is not present, no application is automatically preselected and value of this property is nil.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithSmartCardAIDInstanceIDTokenDriver

        public TKSmartCardToken initWithSmartCardAIDInstanceIDTokenDriver​(TKSmartCard smartCard,
                                                                          NSData AID,
                                                                          java.lang.String instanceID,
                                                                          TKSmartCardTokenDriver tokenDriver)
        Initializes token instance with specified attributes.
        Parameters:
        smartCard - TKSmartCard instance representing connection to SmartCard on which the intance should operate.
        AID - ISO7816-4 application ID which is preselected on the card.
        instanceID - Unique, persistent identifier of this token. This is typically implemented by some kind of SmartCard serial number.
        tokenDriver - associated driver which initiated creation of this token.
      • initWithTokenDriverInstanceID

        public TKSmartCardToken initWithTokenDriverInstanceID​(TKTokenDriver tokenDriver,
                                                              java.lang.String instanceID)
        Description copied from class: TKToken
        Initializes token instance
        Overrides:
        initWithTokenDriverInstanceID in class TKToken
        Parameters:
        tokenDriver - Creating token driver.
        instanceID - Unique, persistent identifier of this token.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()