EThreeParams
@objc(VTEEThreeParams)
public class EThreeParams : NSObject
Contains parameters for initializing EThree
- Tag: EThreeParams
-
Identity of user
Declaration
Swift
@objc public let identity: String -
Callback to get Virgil access token
Declaration
Swift
@objc public let tokenCallback: EThree.RenewJwtCallback -
ChangedKeyDelegate to notify changing of User’s keys
Declaration
Swift
@objc public weak var changedKeyDelegate: ChangedKeyDelegate? -
AppGroup
Declaration
Swift
@objc public var appGroup: String? -
KeychainStorageParamswith specific parametersDeclaration
Swift
@objc public var storageParams: KeychainStorageParams? -
Default key pair type
Declaration
Swift
@objc public var keyPairType: KeyPairType -
Enables ratchet operations
Declaration
Swift
@objc public var enableRatchet: Bool -
Enables ratchet pqc
Declaration
Swift
@objc public var enableRatchetPqc: Bool -
Offline init
Declaration
Swift
@objc public var offlineInit: Bool -
TimeInterval of automatic rotate keys for double ratchet
Declaration
Swift
@objc public var keyRotationInterval: TimeInterval -
Service urls
Declaration
Swift
@objc public var serviceUrls: ServiceUrls -
Initial Jwt
Declaration
Swift
@objc public var initialJwt: Jwt? -
Service urls
See moreDeclaration
Swift
@objc(VTEServiceUrls) public class ServiceUrls : NSObject -
NOTE: Use this only while working with environments other than Virgil production
Declaration
Swift
@objc public var overrideVirgilPublicKey: String? -
Undocumented
Declaration
Swift
@objc public convenience init( initialJwt: Jwt, tokenCallback: @escaping EThree.RenewJwtCallback, configUrl: URL ) throws -
Undocumented
Declaration
Swift
@objc public convenience init( initialJwt: Jwt, tokenCallback: @escaping EThree.RenewJwtCallback ) -
Initializer with parameters from config plist file
Throws
corresponding errorDeclaration
Swift
@objc public convenience init( identity: String, tokenCallback: @escaping EThree.RenewJwtCallback, configUrl: URL ) throwsParameters
identityIdentity of user
tokenCallbackCallback to get Virgil access token
configUrlURL of config file
-
Initializer
Declaration
Swift
@objc public init( identity: String, tokenCallback: @escaping EThree.RenewJwtCallback )Parameters
identityIdentity of user
tokenCallbackCallback to get Virgil access token
EThreeParams Class Reference