Skip to main content
The UCWPublic class allows you to retrieve the TSS Node ID and TSS key share groups without requiring a passphrase.
public init(secretsFile: String) throws
let secrets = "secrets.db"
var sdkInstance: UCWPublic?

do {
    sdkInstance = try UCWPublic(secretsFile: secrets)
} catch {
    print("Error: \(error)")
}

Parameters

secretsFile
string
The complete file name, including its extension, for the Secrets file that needs decryption. The Secrets file was generated by the Initialize Secrets operation and provides the necessary information that allows the UCWPublic class to retrieve the TSS Node ID and TSS key share groups.