myDSSSDK Documentation

Enumeration DSSError

public enum DSSError: Error, Equatable  

Ошибка myDSS

DSSError DSSError Error Error DSSError->Error LocalizedError LocalizedError DSSError->LocalizedError Equatable Equatable DSSError->Equatable

Conforms To

Equatable
Error
LocalizedError

Enumeration Cases

internal​Error

case internalError

missing​Required​Data

case missingRequiredData

local​Keypair​IsMissing

case localKeypairIsMissing

storage​Not​Initialized

case storageNotInitialized

installing​Certificates​Error

case installingCertificatesError(details: String) 

secure​Enclave​Error

case secureEnclaveError(details: String) 

device​Properties​Not​Set

case devicePropertiesNotSet

self​Registration​IsForbidden

case selfRegistrationIsForbidden

qr​Type​Invalid

case qrTypeInvalid

activation​Required

case activationRequired

device​Not​Found

case deviceNotFound

verification​QRValue​Required

case verificationQRValueRequired

verification​Declined

case verificationDeclined

user​Exists

case userExists

user​Does​Not​Exist

case userDoesNotExist

storing​Error

case storingError

user​IsCreated

case userIsCreated

user​IsInstalled

case userIsInstalled

user​IsNot​Verified

case userIsNotVerified

user​IsActive

case userIsActive

user​IsExpired

case userIsExpired

user​IsInactive

case userIsInactive

approve​Required

case approveRequired

user​IsRejected

case userIsRejected

key​Status​Invalid

case keyStatusInvalid

key​Flags​Corrupted

case keyFlagsCorrupted

wrong​Password

case wrongPassword

user​IsNot​Activated

case userIsNotActivated

handle​Invalid

case handleInvalid

pin​Retrieving​Error

case pinRetrievingError(String) 

encryption​Error

case encryptionError

decryption​Error

case decryptionError

unsupported​Certificate

case unsupportedCertificate

wrong​Certificate​Request

case wrongCertificateRequest

client​Side​Keypair​Does​Not​Exist

case clientSideKeypairDoesNotExist

key​Activation​Types​Are​Missing

case keyActivationTypesAreMissing

connection​Error

case connectionError

network​Error

case networkError(code: Int, message: String? = nil) 

confirmation​Error

case confirmationError(approveRequest: DSSApproveRequest, reason: String) 

signing​Error

case signingError(approveRequest: DSSApproveRequest, reason: String) 

operation​Not​Found

case operationNotFound

invalid​Document

case invalidDocument(details: String? = nil) 

downloading​Error

case downloadingError(details: String? = nil) 

canceled

case canceled

forgot​PIN

case forgotPIN

wrong​QR

case wrongQR(value: String) 

Properties

error​Description

public var errorDescription: String?