SignatureResult

Types

Link copied to clipboard
object Companion
Link copied to clipboard
value class Error(val exception: Throwable) : SignatureResult<Nothing>

The signature failed for an unexpected reason. The thrown exception is contained.

Link copied to clipboard

The signature failed for expected reasons. Typically, this is because the user cancelled the operation.

Link copied to clipboard

The signature succeeded. A signature is contained.

Properties

Link copied to clipboard
Link copied to clipboard

Retrieves the contained signature, asserting it exists. If it does not exist, throws the contained problem.

Link copied to clipboard

Retrieves the contained signature, if one exists.

Functions

Link copied to clipboard

Transforms this SignatureResult into a KmmResult. Both Failure and Error map to KmmResult.Failure.

Link copied to clipboard

Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.

Link copied to clipboard

Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.