verifierFor
fun SignatureAlgorithm.verifierFor(publicKey: CryptoPublicKey, configure: ConfigurePlatformVerifier = null): KmmResult<Verifier>(source)
fun SignatureAlgorithm.ECDSA.verifierFor(publicKey: CryptoPublicKey.EC, configure: ConfigurePlatformVerifier = null): KmmResult<Verifier.EC>(source)
fun SignatureAlgorithm.RSA.verifierFor(publicKey: CryptoPublicKey.RSA, configure: ConfigurePlatformVerifier = null): KmmResult<Verifier.RSA>(source)
Obtains a verifier.
If the specified algorithm is not natively supported by the platform, attempts to fall back to a pure-Kotlin implementation.
The platform verifier can be further configured by a lambda parameter.
See also
fun SpecializedSignatureAlgorithm.verifierFor(publicKey: CryptoPublicKey, configure: ConfigurePlatformVerifier = null): KmmResult<Verifier>(source)