Classes

The following classes are available globally.

  • Base class for clients

    See more

    Declaration

    Swift

    @objc(VSSBaseClient)
    open class BaseClient : NSObject
  • Model for representing service errors

    See more

    Declaration

    Swift

    @objc(VSSRawServiceError)
    public final class RawServiceError : NSObject, Codable
  • Simple HttpConnection implementation

    See more

    Declaration

    Swift

    open class HttpConnection : HttpConnectionProtocol
  • Network Operation

    See more

    Declaration

    Swift

    open class NetworkOperation : GenericOperation<Response>
  • Class for network operation with retry

    See more

    Declaration

    Swift

    open class NetworkRetryOperation : GenericOperation<Response>
  • Reachability

    See more

    Declaration

    Swift

    public class Reachability : ReachabilityProtocol
  • Represents Http request

    See more

    Declaration

    Swift

    open class Request
  • Represents Http response

    See more

    Declaration

    Swift

    open class Response : NSObject
  • Class represents HTTP Request to Virgil Service

    See more

    Declaration

    Swift

    open class ServiceRequest : Request
  • Class adds virgil-agent header to collect metrics in the Cloud

    See more

    Declaration

    Swift

    public final class VirgilAgentAdapter : HttpRequestAdapter
  • Class for handling retries for network requests

    See more

    Declaration

    Swift

    open class ExpBackoffRetry : RetryProtocol
  • Represent card service error

    See more

    Declaration

    Swift

    @objc(VSSServiceError)
    open class ServiceError : NSObject, CustomNSError
  • Class representing Virgil Card

    See more

    Declaration

    Swift

    @objc(VSSCard)
    public class Card : NSObject
  • Class responsible for operations with Virgil Cards

    See more

    Declaration

    Swift

    @objc(VSSCardManager)
    open class CardManager : NSObject
  • Contains parameters for initializing CardManager

    See more

    Declaration

    Swift

    @objc(VSSCardManagerParams)
    public final class CardManagerParams : NSObject
  • Class representing Virgil Card Signature

    See more

    Declaration

    Swift

    @objc(VSSCardSignature)
    public final class CardSignature : NSObject
  • Class representing operations with Virgil Cards service

    See more

    Declaration

    Swift

    @objc(VSSCardClient)
    open class CardClient : BaseClient
    extension CardClient: CardClientProtocol
  • Represents response from CardClient’s getCard function with RawSignedModel and whether or not card is outdated

    See more

    Declaration

    Swift

    @objc(VSSGetCardResponse)
    public final class GetCardResponse : NSObject
  • Represents content of Virgil Card

    See more

    Declaration

    Swift

    @objc(VSSRawCardContent)
    public final class RawCardContent : NSObject, Codable
  • Represents signature for RawSignedModel

    See more

    Declaration

    Swift

    @objc(VSSRawSignature)
    public final class RawSignature : NSObject, Codable
  • Represents some model in binary form that can have signatures and corresponds to Virgil Cards Service model

    See more

    Declaration

    Swift

    @objc(VSSRawSignedModel)
    public final class RawSignedModel : NSObject, Codable
  • Class responsible for signing RawSignerModel

    See more

    Declaration

    Swift

    @objc(VSSModelSigner)
    public final class ModelSigner : NSObject
  • Class representing verifier credentials

    See more

    Declaration

    Swift

    @objc(VSSVerifierCredentials)
    public class VerifierCredentials : NSObject
  • Virgil implementation of CardVerifier protocol By default verifies Card’s self signature and Virgil Cards Service signature

    See more

    Declaration

    Swift

    @objc(VSSVirgilCardVerifier)
    public final class VirgilCardVerifier : NSObject, CardVerifier
  • Class representing collection of verifiers

    Important

    Card should contain signature from AT LEAST one verifier from collection of verifiers
    See more

    Declaration

    Swift

    @objc(VSSWhitelist)
    public class Whitelist : NSObject
  • Implementation of AccessTokenProvider which provides AccessToken using cache+renew callback

    See more

    Declaration

    Swift

    @objc(VSSCachingJwtProvider)
    open class CachingJwtProvider : NSObject, AccessTokenProvider
  • Implementation of AccessTokenProvider which provides AccessToken using callback

    See more

    Declaration

    Swift

    @objc(VSSCallbackJwtProvider)
    open class CallbackJwtProvider : NSObject, AccessTokenProvider
  • Implementation of AccessTokenProvider which provides constant AccessToken

    See more

    Declaration

    Swift

    @objc(VSSConstAccessTokenProvider)
    public final class ConstAccessTokenProvider : NSObject, AccessTokenProvider
  • Implementation of AccessTokenProvider which provides generated JWTs

    See more

    Declaration

    Swift

    @objc(VSSGeneratorJwtProvider)
    open class GeneratorJwtProvider : NSObject, AccessTokenProvider
  • Jwt

    Class implementing AccessToken in terms of Virgil JWT

    See more

    Declaration

    Swift

    @objc(VSSJwt)
    public final class Jwt : NSObject, AccessToken
  • Class representing JWT Body content

    See more

    Declaration

    Swift

    @objc(VSSJwtBodyContent)
    public class JwtBodyContent : NSObject
  • Class responsible for JWT generation

    See more

    Declaration

    Swift

    @objc(VSSJwtGenerator)
    open class JwtGenerator : NSObject
  • Class representing JWT Header content

    See more

    Declaration

    Swift

    @objc(VSSJwtHeaderContent)
    public class JwtHeaderContent : NSObject
  • Class representing JWT Signature content

    See more

    Declaration

    Swift

    @objc(VSSJwtSignatureContent)
    public final class JwtSignatureContent : NSObject
  • Class used to provide additional info for AccessTokenProvider and explain why token is needed

    See more

    Declaration

    Swift

    @objc(VSSTokenContext)
    public class TokenContext : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    @objc(VSSKeyEntry)
    public class KeyEntry : NSObject, NSCoding
  • Class representing Keychain entry

    See more

    Declaration

    Swift

    @objc(VSSKeychainEntry)
    public final class KeychainEntry : NSObject
  • Undocumented

    See more

    Declaration

    Swift

    @objc(VSSKeychainQueryOptions)
    public class KeychainQueryOptions : NSObject
  • Class respresenting error returned from KeychainStorage

    See more

    Declaration

    Swift

    @objc(VSSKeychainStorageError)
    public final class KeychainStorageError : NSObject, CustomNSError
  • Class responsible for Keychain interactions.

    See more

    Declaration

    Swift

    @objc(VSSKeychainStorage)
    open class KeychainStorage : NSObject
    extension KeychainStorage: KeychainStorageProtocol
  • Class responsible for KeychainStorage setup

    See more

    Declaration

    Swift

    @objc(VSSKeychainStorageParams)
    public final class KeychainStorageParams : NSObject
  • KeychainStorage that sandboxes entries using identity and prefix

    See more

    Declaration

    Swift

    @objc(VSSSandboxedKeychainStorage)
    public final class SandboxedKeychainStorage : NSObject
    extension SandboxedKeychainStorage: KeychainStorageProtocol
  • Class representing operations with Virgil Keyknox service

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxClient)
    open class KeyknoxClient : BaseClient
    extension KeyknoxClient: KeyknoxClientProtocol
  • Keyknox get parameters

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxGetKeysParams)
    public class KeyknoxGetKeysParams : NSObject
  • Keyknox delete participant parameters

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxDeleteParticipantParams)
    public class KeyknoxDeleteRecipientParams : NSObject
  • Keyknox reset parameters

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxResetParams)
    public class KeyknoxResetParams : NSObject
  • Keyknox pull parameters

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxPullParams)
    public class KeyknoxPullParams : NSObject
  • Keyknox push parameters

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxPushParams)
    public class KeyknoxPushParams : NSObject
  • Value stored on Keyknox service

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxValue)
    public class KeyknoxValue : NSObject
  • Represent encrypted Keyknox value

    Declaration

    Swift

    @objc(VSSEncryptedKeyknoxValue)
    public class EncryptedKeyknoxValue : KeyknoxValue
  • Represent decrypted Keyknox value

    Declaration

    Swift

    @objc(VSSDecryptedKeyknoxValue)
    public class DecryptedKeyknoxValue : KeyknoxValue
  • Class representing entry in cloud

    See more

    Declaration

    Swift

    @objc(VSSCloudEntry)
    public final class CloudEntry : NSObject, Codable
  • Class responsible for storing Keys in Cloud using E2EE

    See more

    Declaration

    Swift

    @objc(VSSCloudKeyStorage)
    open class CloudKeyStorage : NSObject
    extension CloudKeyStorage: CloudKeyStorageProtocol
  • Class representing Key entry: name + data + meta

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxKeyEntry)
    public final class KeyknoxKeyEntry : NSObject
  • KeyknoxCryptoProtocol implementation using VirgilCrypto

    See more

    Declaration

    Swift

    open class KeyknoxCrypto
    extension KeyknoxCrypto: KeyknoxCryptoProtocol
  • Class responsible for managing Keyknox value with E2EE

    See more

    Declaration

    Swift

    @objc(VSSKeyknoxManager)
    open class KeyknoxManager : NSObject
  • Class responsible for synchronization between Keychain and Keyknox Cloud

    See more

    Declaration

    Swift

    @objc(VSSSyncKeyStorage)
    open class SyncKeyStorage : NSObject
  • SQLiteDB

    See more

    Declaration

    Swift

    public class SQLiteDB : NSObject
  • Represents error of SQLite

    See more

    Declaration

    Swift

    @objc(VSSSQLiteError)
    public class SQLiteError : NSObject, LocalizedError
  • SQLite statement

    See more

    Declaration

    Swift

    public class Statement
  • Encryption credentials

    See more

    Declaration

    Swift

    @objc(VSSFileSystemCredentials)
    open class FileSystemCredentials : NSObject
  • Class for saving data to the filesystem

    Note

    This class is NOT thread-safe
    • Tag: FileSystem
    See more

    Declaration

    Swift

    @objc(VSSFileSystem)
    open class FileSystem : NSObject
  • Mutex

    See more

    Declaration

    Swift

    @objc(VSSMutex)
    open class Mutex : NSObject
  • Class for AsyncOperations

    See more

    Declaration

    Swift

    open class AsyncOperation : Operation
  • Async GenericOperation that can be initialized with callback

    See more

    Declaration

    Swift

    open class CallbackOperation<T> : GenericOperation<T>
  • Represents AsyncOperation with Generic result

    See more

    Declaration

    Swift

    open class GenericOperation<T> : AsyncOperation