asRootCertificatePublicKey
Casts this ImportKeyMaterial as a RootCertificatePublicKey and retrieves its aws.sdk.kotlin.services.paymentcryptography.model.RootCertificatePublicKey value. Throws an exception if the ImportKeyMaterial is not a RootCertificatePublicKey.