SigningRegistrationError

ENUM

SigningRegistrationError

public enum SigningRegistrationError: Error, Equatable

An enumeration that describes signing registration issues.

Cases

emptyUserId

case emptyUserId

User id is empty or nil.

emptyIdentity

case emptyIdentity

One or more of dtas, token or mpinId properties of the user are empty.

emptyAccessId

case emptyAccessId

AccessId for authentication is empty or nil.

authenticatorCreationError

case authenticatorCreationError

Cannot create an authenticator object.

emptyAuthenticationResponse

case emptyAuthenticationResponse

Response received from the authentication is empty or nil.

invalidCryptoValue

case invalidCryptoValue

Values returned from the crypto library are empty.

invalidSigningClientSecret1Response

case invalidSigningClientSecret1Response

Response of dvsregister request is empty or nil.

invalidSigningClientSecret2Response

case invalidSigningClientSecret2Response

Response of getting second signing client secret share is empty or nil.

unsupportedEllipticCurve

case unsupportedEllipticCurve

Curve returned by the platform is unsupported by this version of the SDK.

invalidPin

case invalidPin

Pin is wrong or has an invalid format, e.g contains letters or special symbols.

invalidSigningClientToken

case invalidSigningClientToken

Client token for signing is empty or nil.

userAlreadyRegistered

case userAlreadyRegistered

User is already persisted in storage.

invalidDeviceName

case invalidDeviceName

Device name is nil or invalid.