Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
annotation class SecretExposure
This guards a secret. Do not expose it lightly!
Link copied to clipboard
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
Functions
Link copied to clipboard
Transforms this SignatureResult into a KmmResult. Both Failure and Error map to KmmResult.Failure.
Link copied to clipboard
inline fun <T : CryptoSignature.RawByteEncodable, S : CryptoSignature.RawByteEncodable> SignatureResult<T>.map(block: (T) -> S): SignatureResult<S>
Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.
Link copied to clipboard
inline fun <T : CryptoSignature.RawByteEncodable, S : CryptoSignature.RawByteEncodable> SignatureResult<T>.modify(block: KmmResult<T>.() -> KmmResult<S>): SignatureResult<S>
Modifies the contained CryptoSignature, usually in order to reinterpret it as a more narrow type.
Link copied to clipboard
Shorthand helper to create an X509Certificate by signing tbsCertificate
Shorthand helper to create a Pkcs10CertificationRequest by signing tbsCsr