Classes
The following classes are available globally.
-
Class that represents a bluetooth peripheral.
See moreDeclaration
Swift
public final class BluetoothPeripheral : Hashable
-
Class that describes a certificate object. Inherits from
See moreTokenObject
.Declaration
Swift
public final class Certificate : TokenObject
-
Class that represents a PIN that protects smart card contents.
See moreDeclaration
Swift
public final class Pin
-
Class that describes a key object. Inherits from
See moreTokenObject
.Declaration
Swift
public class Key : TokenObject
-
Class to use for logging messages from middleware.
Call
See moreLog.setLog
to redirect all traces to yourLogImplementation
object.Declaration
Swift
public final class Log
-
Class that represents the current state of a credential, to use in a login process.
Note:
One instance of this class can be used during a complete login process with a
See moreCredentialValue
in order to update informations contained in the PIN dialog.Declaration
Swift
public final class CredentialState
-
Class that represents the credential value returned by the
Pin.requestCredential(pinProperties:state:readerName:cardLabel:env:completionHandler:)
function.Note:
This object can be used in login process.
See moreDeclaration
Swift
public final class CredentialValue
-
Class that describes the format constraints of the PIN (which must be enforced when changing the PIN value).
The constraints are obtained as an
Array
ofPinConstraint
objects by callingPin.getConstraints(completionHandler:)
.The
PinConstraint
objects, that describe a constraint, all have a field namedtype
. This field indicates the type of the constraint, and optionally, the parameters of the constraint. Thetype
can be one of the following (this list may be extended in the future):"minLength"
: The number of characters in the PIN must be at least the number given by the first parameter."exactLength"
: The number of characters in the PIN must be exactly the number given by the first parameter."minMaxLength"
: The number of characters in the PIN must be between the first parameter and the second parameter."minDigits"
: The PIN must contain at least the number of the first parameter digits characters."minUpperCase"
: The PIN must contain at least the number of uppercase letters given by the first parameter."minSpecial"
: The PIN must contain at least the number of special characters given by the first parameter."minLowerCase"
: The PIN must contain at least the number of lowercase letters given by the first parameter."newOldDifferent"
: The new PIN value must be different from the old PIN value."newOldDissimilar"
: The percentage of the characters that must differ between the new PIN and the old PIN value is given in the first parameter."maxIncDecSequence"
: There must be no sequences of increasing/decreasing characters that reach or exceed the first parameter."maxIdenticalSequence"
: The max Identical sequence between the new PIN and the Old pin
Declaration
Swift
public final class PinConstraint
-
Class that represent a smart card reader (either a physical, hardware reader, or a virtual smart card reader).
See moreDeclaration
Swift
public final class Reader
-
Main class for the Smart Card Middleware API.
This class provides the initial entry points for connecting to the iOS API, obtaining the readers and listening to events.
See moreDeclaration
Swift
public final class SCMEnvironment
-
Class that represents connection to a smart card (or more generally, any cryptographic device). Token objects are obtained by calling the
See moreReader.connect(completionHandler:)
method.Declaration
Swift
public final class Token
-
Class that describes a cryptographic object located in a smart card.
See moreDeclaration
Swift
public class TokenObject
extension TokenObject: Hashable