Package apple.cryptotokenkit.protocol
Interface TKTokenDriverDelegate
-
- All Known Subinterfaces:
TKSmartCardTokenDriverDelegate
public interface TKTokenDriverDelegateDelegate for customizing token driver operations. SmartCard tokens should implement TKSmartCardTokenDriverDelegate instead of this base protocol. API-Since: 10.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidtokenDriverTerminateToken(@NotNull TKTokenDriver driver, @NotNull TKToken token)Terminates previously created token, should release all resources associated with it.default @Nullable TKTokentokenDriverTokenForConfigurationError(@NotNull TKTokenDriver driver, @NotNull TKTokenConfiguration configuration, @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)Creates new token for specified configuration.
-
-
-
Method Detail
-
tokenDriverTerminateToken
default void tokenDriverTerminateToken(@NotNull @NotNull TKTokenDriver driver, @NotNull @NotNull TKToken token)Terminates previously created token, should release all resources associated with it.
-
tokenDriverTokenForConfigurationError
@Nullable default @Nullable TKToken tokenDriverTokenForConfigurationError(@NotNull @NotNull TKTokenDriver driver, @NotNull @NotNull TKTokenConfiguration configuration, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
Creates new token for specified configuration. SmartCard token drivers should not implement this method. API-Since: 14.0
-
-