asRegisteredId

Casts this GeneralName as a RegisteredId and retrieves its kotlin.String value. Throws an exception if the GeneralName is not a RegisteredId.