RichUtils / pyxis.uzuki.live.richutilskt.module.iap / RInAppBilling / Security / generatePublicKey

generatePublicKey

fun generatePublicKey(encodedPublicKey: String): PublicKey

Generates a PublicKey instance from a string containing the Base64-encoded public key.

Parameters

encodedPublicKey - Base64-encoded public key

Exceptions

IllegalArgumentException - if encodedPublicKey is invalid