asRegisteredIdOrNull

Casts this GeneralName as a RegisteredId and retrieves its kotlin.String value. Returns null if the GeneralName is not a RegisteredId.