MasterKey
class MasterKey : KeyMaterial
-
Export the master key as a QR Code. The value is Base64-encoded.
Declaration
Swift
public func qrCode() -> QRCode
Return Value
The QR Code.
-
Export the master key as a Base64-encoded string.
Declaration
Swift
public func base64EncodedString() -> String
Return Value
The Base64-encoded representation of the master key.
-
Initialize a master key from a Base64-encoded string.
Declaration
Swift
public convenience init?(base64Encoded encodedString: String)
Parameters
base64Encoded
The Base64-encoded representation of a master key.
Return Value
nil
ifbase64Encoded
is not a valid.