SigningError

ENUM

# SigningError

public enum SigningError: Error, Equatable

An enumeration that describes signing issues.

# Cases

# emptyMessageHash

case emptyMessageHash

Document hash is empty.

# emptySigningIdentity

case emptySigningIdentity

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

# invalidCryptoValues

case invalidCryptoValues

Values returned from the crypto library are empty.

# invalidPin

case invalidPin

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

# emptyPublicKey

case emptyPublicKey

Public key is nil or empty.

# invalidTimestamp

case invalidTimestamp

Timestamp is nil or empty.

# invalidSigningIdentity

case invalidSigningIdentity

Identity for signing is empty or nil.