Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class CFCryptoOperationFailed(thing: String, val osStatus: <Error class: unknown class>)
Link copied to clipboard
class CoreFoundationException(val nsError: <Error class: unknown class>) : Throwable
Link copied to clipboard
sealed class CryptoException : Throwable
Link copied to clipboard
Link copied to clipboard
annotation class HazardousMaterials

This is an internal property. It is exposed if you know what you are doing. You very likely don't actually need it.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SwiftException(message: String) : Throwable
Link copied to clipboard
class UnlockFailed(message: String? = null, cause: Throwable? = null) : UserInitiatedCancellationReason
Link copied to clipboard
open class UnsupportedCryptoException(message: String? = null, cause: Throwable? = null) : CryptoException
Link copied to clipboard

These map to SignatureResult.Failure instead of SignatureResult.Error

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.