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