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. API-Since: 10.0
    • Constructor Detail

      • TKSmartCardToken

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

      • AID

        @Nullable
        public @Nullable 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 TKSmartCardToken allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull 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​(@NotNull
                                                                          @NotNull TKSmartCard smartCard,
                                                                          @Nullable
                                                                          @Nullable NSData AID,
                                                                          @NotNull
                                                                          @NotNull java.lang.String instanceID,
                                                                          @NotNull
                                                                          @NotNull 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​(@NotNull
                                                              @NotNull TKTokenDriver tokenDriver,
                                                              @NotNull
                                                              @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.