getPublicKeyByType

open fun getPublicKeyByType(pubkeyType: PublicKeyType): PublicKey

Returns the public key associated with the given pubkeyType and privateKey

Return

Non-null pointer to the corresponding public key

Parameters

pk

Non-null pointer to the private key

pubkeyType

pubkeyType of the given private key