DefaultCryptoService

expect constructor(keyPairAdapter: KeyPairAdapter)
actual constructor(keyPairAdapter: KeyPairAdapter)
constructor(keyPair: KeyPair, algorithm: X509SignatureAlgorithm)

Constructor which allows all public keys implemented in KMP-Crypto Because RSA needs the algorithm parameter to be useful (as it cannot be inferred from the key) it's mandatory Also used for custom certificates


actual constructor(keyPairAdapter: KeyPairAdapter)