getPublicKey

open override fun getPublicKey(keyAlias: String): Jwk

Computes and returns a public key corresponding to the private key identified by the provided keyAlias.

Return

The computed public key as a Jwk object.

Parameters

keyAlias

The alias (key ID) of the private key stored in the keyStore.

Throws

if a key with the provided alias is not found in the keyStore.