TMGClientConfiguration

public class TMGClientConfiguration

TMGClientConfiguration used to configure the Server URL, Server certificate, Key identifier and Certificate pins

Version

Version 3.0

Since

Since 3.0
  • Get the TMG Server URL.

    Declaration

    Swift

    public var serverURL: String

    Return Value

    • Server url of type String

  • Get the certificate used for Public key generation during communication with TMG Server.

    Declaration

    Swift

    public var serverCertificate: Data

    Return Value

    • Certificate of type String

  • Get the Key identifier.

    Declaration

    Swift

    public var serverKeyID: String

    Return Value

    • Key identifier of type String

  • Initializing the tmgUrl, certificate, and key identifier for TMGClientConfiguration

    Declaration

    Swift

    public init(serverURL: String, serverCertificate: Data, serverKeyID: String)

    Parameters

    serverURL

    TMG Server Url. It should start with http://. and should contain thalescloud.io. Mandatory input.

    serverCertificate

    Set 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.

    serverKeyID

    Key identifier. It is a 32 byte Hex String. Mandatory input.