Classes
The following classes are available globally.
-
Superclass to all SDK classes. The data of the class is stored in
inner
, and there is an internalinit
for setting the data.Requires subclass inits to be
convenience init
which callself.init
to setinner
Declaration
Swift
public class SdkObject
-
Signing and encryption key pairs and metadata for a device.
Required to initialize the SDK with a set of device keys (see
IronOxide.initialize
).Can be generated by calling
See moreSDK.generateNewDevice
and passing the result toDeviceContext.init
.Declaration
Swift
public class DeviceContext : SdkObject
-
Parameters that can be provided when encrypting a new document.
Document IDs must be unique to the segment. If no ID is provided, one will be generated for it. If no name is provided, the document’s name will be left empty. Neither the document’s ID nor name will be encrypted.
See moreDeclaration
Swift
public class DocumentEncryptOpts : SdkObject
-
Encrypted document bytes and metadata.
Unmanaged encryption does not store document access information with the webservice, but rather returns the access information as
See moreencryptedDeks
. Both theencryptedData
andencryptedDeks
must be used to decrypt the document.Declaration
Swift
public class DocumentEncryptUnmanagedResult : SdkObject
-
Struct that represents an initialized IronOxide SDK.
Contains properties and methods for all SDK functionality
See moreDeclaration
Swift
public class SDK
-
Metadata for a newly created device.
Can be converted into a
See moreDeviceContext
withDeviceContext.init
.Declaration
Swift
public class DeviceAddResult : SdkObject