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