# 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.

# 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.

# invalidDeviceName

case invalidDeviceName

Device name is nil or invalid.

# overrideDeletionError

case overrideDeletionError

Existing signing user cannot be removed.

# overrideTooManyUsersError

case overrideTooManyUsersError

There are more than one signing users with given user id and therefore signing user cannot be deleted.

# invalidUserStorage

case invalidUserStorage

User storage is nil or invalid.

# revokedUser

case revokedUser

The user is revoked, so signing registration is not possible.