ECDSA

interface ECDSA : Signer.AlgTrait, UsableECDHPrivateValue

Types

Link copied to clipboard
interface ECDH : KeyAgreementPrivateValue

Properties

Link copied to clipboard
Link copied to clipboard
abstract val publicKey: CryptoPublicKey.EC
Link copied to clipboard
open val publicValue: KeyAgreementPublicValue.ECDH
Link copied to clipboard
abstract val signatureAlgorithm: SignatureAlgorithm.ECDSA

Functions

Link copied to clipboard
abstract fun exportPrivateKey(): KmmResult<CryptoPrivateKey.EC.WithPublicKey>
Link copied to clipboard
abstract suspend fun keyAgreement(publicValue: KeyAgreementPublicValue.ECDH): KmmResult<ByteArray>
Link copied to clipboard
abstract suspend fun sign(data: SignatureInput): SignatureResult<*>
open suspend fun sign(data: ByteArray): SignatureResult<*>
open suspend fun sign(data: Sequence<ByteArray>): SignatureResult<*>
Link copied to clipboard
open suspend fun trySetupUninterruptedSigning(): KmmResult<Unit>