TMGClientConfiguration
public class TMGClientConfiguration
TMGClientConfiguration used to configure the Server URL, Server certificate, Key identifier and Certificate pins
Version
Version 3.0Since
Since 3.0-
Get the TMG Server URL.
Declaration
Swift
public var serverURL: StringReturn Value
- Server url of type
String
- Server url of type
-
Get the certificate used for Public key generation during communication with TMG Server.
Declaration
Swift
public var serverCertificate: DataReturn Value
- Certificate of type
String
- Certificate of type
-
Get the Key identifier.
Declaration
Swift
public var serverKeyID: StringReturn Value
- Key identifier of type
String
- Key identifier of type
-
Initializing the tmgUrl, certificate, and key identifier for TMGClientConfiguration
Declaration
Swift
public init(serverURL: String, serverCertificate: Data, serverKeyID: String)Parameters
serverURLTMG Server Url. It should start with
http://. and should containthalescloud.io. Mandatory input.serverCertificateSet the certificate used for Public key generation during communication with TMG Server. It should start with
-----BEGIN CERTIFICATE-----and end with-----END CERTIFICATE-----. Mandatory input.serverKeyIDKey identifier. It is a 32 byte
HexString. Mandatory input.
TMGClientConfiguration Class Reference